Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
|
feb24678b2 | ||
|
3582572c30 |
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,7 @@ package network
|
|||
import (
|
||||
"context"
|
||||
"crypto/rand"
|
||||
"encoding/base64"
|
||||
"encoding/binary"
|
||||
"errors"
|
||||
"fmt"
|
||||
|
@ -1179,6 +1180,9 @@ func (s *Server) RelayP2PNotaryRequest(r *payload.P2PNotaryRequest) error {
|
|||
err := s.verifyAndPoolNotaryRequest(r)
|
||||
if err == nil {
|
||||
s.broadcastP2PNotaryRequestPayload(nil, r)
|
||||
} else {
|
||||
b, _ := r.Bytes()
|
||||
s.log.Info("p2p request", zap.Error(err), zap.String("payload", base64.StdEncoding.EncodeToString(b)))
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue