[#452] Update neo-go to latest master

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-04-05 12:27:58 +03:00 committed by Alex Vanin
parent b18da34b55
commit 7cf48d4d91
7 changed files with 54 additions and 4 deletions

View file

@ -180,7 +180,7 @@ func (s *loggingReputationServer) SendLocalTrust(_ context.Context, req *v2reput
for _, t := range body.GetTrusts() {
log.Info("local trust received",
zap.String("peer", hex.EncodeToString(t.GetPeer())),
zap.String("peer", hex.EncodeToString(t.GetPeer().GetValue())),
zap.Float64("value", t.GetValue()),
)
}
@ -190,3 +190,11 @@ func (s *loggingReputationServer) SendLocalTrust(_ context.Context, req *v2reput
return resp, nil
}
func (s *loggingReputationServer) SendIntermediateResult(_ context.Context, req *v2reputation.SendIntermediateResultRequest) (*v2reputation.SendIntermediateResultResponse, error) {
resp := new(v2reputation.SendIntermediateResultResponse)
// todo: implement me
return resp, nil
}