mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-03 01:41:48 +00:00
transaction: rename FeeOnly to None
Follow missed change from neo-project/neo#1816 . `None` may be used for any signer. Currently it is used for sender to only pay fees, or to sign tx attributes.
This commit is contained in:
parent
230352d99f
commit
fa09b9af7b
13 changed files with 24 additions and 34 deletions
|
@ -469,7 +469,7 @@ func (c *Client) SignAndPushInvocationTx(script []byte, acc *wallet.Account, sys
|
|||
func getSigners(sender util.Uint160, cosigners []transaction.Signer) []transaction.Signer {
|
||||
s := transaction.Signer{
|
||||
Account: sender,
|
||||
Scopes: transaction.FeeOnly,
|
||||
Scopes: transaction.None,
|
||||
}
|
||||
for i, c := range cosigners {
|
||||
if c.Account == sender {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue