forked from TrueCloudLab/frostfs-node
[#1570] Upgrade NeoFS SDK Go with changed reputation API
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
9a6da336db
commit
9a11a75b77
28 changed files with 146 additions and 158 deletions
|
@ -82,9 +82,7 @@ func ParsePut(e *subscriptions.NotificationEvent) (event.Event, error) {
|
|||
return nil, fmt.Errorf("peer ID is %d byte long, expected %d", ln, peerIDLength)
|
||||
}
|
||||
|
||||
var publicKey [33]byte
|
||||
copy(publicKey[:], peerID)
|
||||
ev.peerID.SetPublicKey(publicKey)
|
||||
ev.peerID.SetPublicKey(peerID)
|
||||
|
||||
// parse global trust value
|
||||
rawValue, err := client.BytesFromStackItem(params[2])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue