forked from TrueCloudLab/frostfs-node
[#452] Update neo-go to latest master
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
b18da34b55
commit
7cf48d4d91
7 changed files with 54 additions and 4 deletions
|
@ -33,3 +33,16 @@ func (s *signService) SendLocalTrust(ctx context.Context, req *reputation.SendLo
|
|||
|
||||
return resp.(*reputation.SendLocalTrustResponse), nil
|
||||
}
|
||||
|
||||
func (s *signService) SendIntermediateResult(ctx context.Context, req *reputation.SendIntermediateResultRequest) (*reputation.SendIntermediateResultResponse, error) {
|
||||
resp, err := s.sigSvc.HandleUnaryRequest(ctx, req,
|
||||
func(ctx context.Context, req interface{}) (util.ResponseMessage, error) {
|
||||
return s.svc.SendIntermediateResult(ctx, req.(*reputation.SendIntermediateResultRequest))
|
||||
},
|
||||
)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return resp.(*reputation.SendIntermediateResultResponse), nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue