[#47] innerring: Increase minimal extra fee on contract invocations

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-01-20 16:11:43 +03:00 committed by Alex Vanin
parent 8865252daf
commit 0745267411
4 changed files with 7 additions and 14 deletions

View file

@ -57,7 +57,7 @@ func SetNewEpoch(cli *client.Client, con util.Uint160, epoch uint64) error {
return client.ErrNilClient
}
return cli.Invoke(con, feeOneGas, setNewEpochMethod, int64(epoch))
return cli.Invoke(con, extraFee, setNewEpochMethod, int64(epoch))
}
// ApprovePeer invokes addPeer method.
@ -66,7 +66,7 @@ func ApprovePeer(cli *client.Client, con util.Uint160, peer []byte) error {
return client.ErrNilClient
}
return cli.Invoke(con, feeOneGas, approvePeerMethod, peer)
return cli.Invoke(con, extraFee, approvePeerMethod, peer)
}
// UpdatePeerState invokes addPeer method.