forked from TrueCloudLab/frostfs-node
[#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:
parent
f40f1ca0c0
commit
204eaab5a9
1 changed files with 1 additions and 1 deletions
|
@ -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(),
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue