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:
Evgenii Stratonikov 2020-10-01 15:26:51 +03:00
parent 230352d99f
commit fa09b9af7b
13 changed files with 24 additions and 34 deletions

View file

@ -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 {