From 204eaab5a96a48cf12c2f5ac351e42430bae0810 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Mon, 5 Oct 2020 18:54:46 +0300 Subject: [PATCH] [#75] Fix order of update peer state method arguments This method has node status first and public key second. 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 4ee52af0..f5100989 100644 --- a/pkg/innerring/invoke/netmap.go +++ b/pkg/innerring/invoke/netmap.go @@ -71,8 +71,8 @@ func UpdatePeerState(cli *client.Client, con util.Uint160, args *UpdatePeerArgs) } return cli.Invoke(con, extraFee, updatePeerStateMethod, - args.Key.Bytes(), int64(args.Status), + args.Key.Bytes(), ) }