Compare commits

...

2 commits

Author SHA1 Message Date
Roman Khimov
feb24678b2 data 2024-01-10 17:02:49 +03:00
Roman Khimov
3582572c30 debug 2024-01-10 16:29:00 +03:00

View file

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