From cec1f292f0ba6fe5c0ebce505cec69c0efc86d4d Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Thu, 27 Feb 2020 11:16:51 +0100 Subject: [PATCH] mobile: add CallOpts.SetFrom (#20721) This was missing because I forgot to wrap it when bind.CallOpts.From as added. --- mobile/bind.go | 1 + 1 file changed, 1 insertion(+) diff --git a/mobile/bind.go b/mobile/bind.go index 90ecdf82c4..48e9921b44 100644 --- a/mobile/bind.go +++ b/mobile/bind.go @@ -69,6 +69,7 @@ func (opts *CallOpts) GetGasLimit() int64 { return 0 /* TODO(karalabe) */ } func (opts *CallOpts) SetPending(pending bool) { opts.opts.Pending = pending } func (opts *CallOpts) SetGasLimit(limit int64) { /* TODO(karalabe) */ } func (opts *CallOpts) SetContext(context *Context) { opts.opts.Context = context.context } +func (opts *CallOpts) SetFrom(addr *Address) { opts.opts.From = addr.address } // TransactOpts is the collection of authorization data required to create a // valid Ethereum transaction.