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
|
@ -41,7 +41,7 @@ func (g *GetByIDPrm) SetID(v ID) {
|
|||
func (c *Client) Get(p GetPrm) ([]reputation.GlobalTrust, error) {
|
||||
invokePrm := client.TestInvokePrm{}
|
||||
invokePrm.SetMethod(getMethod)
|
||||
invokePrm.SetArgs(p.epoch, p.peerID.ToV2().GetPublicKey())
|
||||
invokePrm.SetArgs(p.epoch, p.peerID.PublicKey())
|
||||
|
||||
res, err := c.client.TestInvoke(invokePrm)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue