rpc: fix cosigner scope in CreateNEP5TransferTx

It should be the same as transaction's cosigner scope.
This commit is contained in:
Anna Shaleva 2020-07-06 11:03:21 +03:00
parent 966ad8a0b1
commit 7b90ad9337

View file

@ -118,7 +118,7 @@ func (c *Client) CreateNEP5TransferTx(acc *wallet.Account, to util.Uint160, toke
result, err := c.InvokeScript(script, []transaction.Cosigner{
{
Account: from,
Scopes: transaction.Global,
Scopes: transaction.CalledByEntry,
},
})
if err != nil {