This commit is contained in:
Roman Khimov 2024-01-10 17:02:49 +03:00
parent 3582572c30
commit feb24678b2

View file

@ -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
} }