From b59af19dff980fb9773953b1f08dbad44ef75105 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Fri, 13 Nov 2020 17:07:02 +0300 Subject: [PATCH] [#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 --- pkg/innerring/invoke/netmap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/innerring/invoke/netmap.go b/pkg/innerring/invoke/netmap.go index ececdaf43..c688d1607 100644 --- a/pkg/innerring/invoke/netmap.go +++ b/pkg/innerring/invoke/netmap.go @@ -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.