[#75] Fix order of update peer state method arguments

This method has node status first and public key second.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2020-10-05 18:54:46 +03:00 committed by Alex Vanin
parent f40f1ca0c0
commit 204eaab5a9

View file

@ -71,8 +71,8 @@ func UpdatePeerState(cli *client.Client, con util.Uint160, args *UpdatePeerArgs)
} }
return cli.Invoke(con, extraFee, updatePeerStateMethod, return cli.Invoke(con, extraFee, updatePeerStateMethod,
args.Key.Bytes(),
int64(args.Status), int64(args.Status),
args.Key.Bytes(),
) )
} }