forked from TrueCloudLab/neoneo-go
rpc: fix cosigner scope in CreateNEP5TransferTx
It should be the same as transaction's cosigner scope.
This commit is contained in:
parent
966ad8a0b1
commit
7b90ad9337
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue