Skip to content

Commit 605c2b2

Browse files
ligikaralabe
authored andcommitted
mobile: fix variadic argument expansion
1 parent 4bc60e3 commit 605c2b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎mobile/bind.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ func (c *BoundContract) Call(opts *CallOpts, out *Interfaces, method string, arg
165165

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

0 commit comments

Comments
 (0)