diff options
author | ligi <ligi@ligi.de> | 2017-10-06 02:08:14 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-10-06 02:08:14 +0800 |
commit | 605c2b261f89c8398f2003a24e18a121d042cead (patch) | |
tree | 9de1da9b23c46d9db0ccabe3ef16dc947c1348bb /mobile | |
parent | 4bc60e3aa8eb3929a4e040ef260807a36e3db1d8 (diff) | |
download | go-tangerine-605c2b261f89c8398f2003a24e18a121d042cead.tar.gz go-tangerine-605c2b261f89c8398f2003a24e18a121d042cead.tar.zst go-tangerine-605c2b261f89c8398f2003a24e18a121d042cead.zip |
mobile: fix variadic argument expansion
Diffstat (limited to 'mobile')
-rw-r--r-- | mobile/bind.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile/bind.go b/mobile/bind.go index 084d6ef4c..7b79bedaf 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 } |