forked from TrueCloudLab/neoneo-go
data
This commit is contained in:
parent
3582572c30
commit
feb24678b2
1 changed files with 3 additions and 1 deletions
|
@ -3,6 +3,7 @@ package network
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"crypto/rand"
|
"crypto/rand"
|
||||||
|
"encoding/base64"
|
||||||
"encoding/binary"
|
"encoding/binary"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
@ -1180,7 +1181,8 @@ func (s *Server) RelayP2PNotaryRequest(r *payload.P2PNotaryRequest) error {
|
||||||
if err == nil {
|
if err == nil {
|
||||||
s.broadcastP2PNotaryRequestPayload(nil, r)
|
s.broadcastP2PNotaryRequestPayload(nil, r)
|
||||||
} else {
|
} else {
|
||||||
s.log.Info("p2p request", zap.Error(err))
|
b, _ := r.Bytes()
|
||||||
|
s.log.Info("p2p request", zap.Error(err), zap.String("payload", base64.StdEncoding.EncodeToString(b)))
|
||||||
}
|
}
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue