Skip to content

Commit

Permalink
mobile: add CallOpts.SetFrom (ethereum#20721)
Browse files Browse the repository at this point in the history
This was missing because I forgot to wrap it when bind.CallOpts.From
as added.
  • Loading branch information
fjl authored and kjx98 committed Mar 17, 2020
1 parent bc2241e commit c18a7d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mobile/bind.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c18a7d9

Please sign in to comment.