From 1766228cfd1457e14975164d9c2c1c8256bd18fe Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Wed, 24 Mar 2021 11:10:36 +0300 Subject: [PATCH] [#265] v2/signature: Support SendLocalTrust request and response Signed-off-by: Leonard Lyubich --- v2/signature/sign.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/v2/signature/sign.go b/v2/signature/sign.go index f006bfb..eb35253 100644 --- a/v2/signature/sign.go +++ b/v2/signature/sign.go @@ -10,6 +10,7 @@ import ( "github.com/nspcc-dev/neofs-api-go/v2/netmap" "github.com/nspcc-dev/neofs-api-go/v2/object" "github.com/nspcc-dev/neofs-api-go/v2/refs" + "github.com/nspcc-dev/neofs-api-go/v2/reputation" "github.com/nspcc-dev/neofs-api-go/v2/session" "github.com/pkg/errors" ) @@ -374,5 +375,11 @@ func serviceMessageBody(req interface{}) stableMarshaler { return v.GetBody() case *netmap.NetworkInfoResponse: return v.GetBody() + + /* Reputation */ + case *reputation.SendLocalTrustRequest: + return v.GetBody() + case *reputation.SendLocalTrustResponse: + return v.GetBody() } }