From 605c2b261f89c8398f2003a24e18a121d042cead Mon Sep 17 00:00:00 2001 From: ligi Date: Thu, 5 Oct 2017 20:08:14 +0200 Subject: [PATCH] mobile: fix variadic argument expansion --- mobile/bind.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/bind.go b/mobile/bind.go index 084d6ef4c7..7b79bedafd 100644 --- a/mobile/bind.go +++ b/mobile/bind.go @@ -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 }