[#171] Increase extra gas on ApprovePeer method

With latest changes in neo's execution costs, we need more
gas to add storage node to netmap.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2020-11-13 17:07:02 +03:00 committed by Alex Vanin
parent eb13322bf0
commit b59af19dff

View file

@ -69,7 +69,7 @@ func ApprovePeer(cli *client.Client, con util.Uint160, peer []byte) error {
return client.ErrNilClient
}
return cli.Invoke(con, feeHalfGas, approvePeerMethod, peer)
return cli.Invoke(con, feeOneGas, approvePeerMethod, peer)
}
// UpdatePeerState invokes addPeer method.