Skip to content

Commit

Permalink
mobile: fix variadic argument expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
ligi authored and karalabe committed Oct 5, 2017
1 parent 4bc60e3 commit 605c2b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mobile/bind.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func (c *BoundContract) Call(opts *CallOpts, out *Interfaces, method string, arg

// Transact invokes the (paid) contract method with params as input values.
func (c *BoundContract) Transact(opts *TransactOpts, method string, args *Interfaces) (tx *Transaction, _ error) {
rawTx, err := c.contract.Transact(&opts.opts, method, args.objects)
rawTx, err := c.contract.Transact(&opts.opts, method, args.objects...)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 605c2b2

Please sign in to comment.