mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-25 13:47:19 +00:00
network: add debug for notary payloads
Can be handy if things go wrong. Signed-off-by: Roman Khimov <roman@nspcc.ru>
This commit is contained in:
parent
fd7b7ffc13
commit
db2e214f7e
1 changed files with 4 additions and 1 deletions
|
@ -1169,7 +1169,10 @@ func (s *Server) handleP2PNotaryRequestCmd(r *payload.P2PNotaryRequest) error {
|
|||
}
|
||||
// It's OK for it to fail for various reasons like request already existing
|
||||
// in the pool.
|
||||
_ = s.RelayP2PNotaryRequest(r)
|
||||
err := s.RelayP2PNotaryRequest(r)
|
||||
if err != nil {
|
||||
s.log.Debug("p2p notary request", zap.Error(err), zap.String("hash", r.Hash().StringLE()), zap.String("main", r.MainTransaction.Hash().StringLE()))
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue