forked from TrueCloudLab/frostfs-node
[#1518] Upgrade NeoFS SDK Go with changed subnet
package
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
f602d05b0a
commit
2e4a1cb6df
12 changed files with 32 additions and 90 deletions
|
@ -20,12 +20,7 @@ func (v *Validator) VerifyAndUpdate(n *netmap.NodeInfo) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
rawSubnetID, err := id.Marshal()
|
||||
if err != nil {
|
||||
return fmt.Errorf("could not marshal subnetwork ID: %w", err)
|
||||
}
|
||||
|
||||
prm.SetID(rawSubnetID)
|
||||
prm.SetID(id.Marshal())
|
||||
prm.SetNode(n.PublicKey())
|
||||
|
||||
res, err := v.subnetClient.NodeAllowed(prm)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue