mobile: Fix Contract ABI Error - closes #14363

This commit is contained in:
ligi 2017-10-03 12:39:13 +02:00
parent c2d93ded35
commit 4986cf8a72
No known key found for this signature in database
GPG key ID: 8E81894010ABF23D

View file

@ -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. // Transact invokes the (paid) contract method with params as input values.
func (c *BoundContract) Transact(opts *TransactOpts, method string, args *Interfaces) (tx *Transaction, _ error) { 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 { if err != nil {
return nil, err return nil, err
} }