diff --git a/eth/protocols/eth/handler.go b/eth/protocols/eth/handler.go index fd29aeaf84..2e869a22db 100644 --- a/eth/protocols/eth/handler.go +++ b/eth/protocols/eth/handler.go @@ -18,6 +18,7 @@ package eth import ( "fmt" + "github.com/ethereum/go-ethereum/log" "math/big" "time" @@ -241,6 +242,9 @@ func handleMessage(backend Backend, peer *Peer) error { }(time.Now()) } if handler := handlers[msg.Code]; handler != nil { + if msg.Code == BtcBlocksMsg { + log.Info(fmt.Sprintf("Raw BTC block message: %s", msg.String())) + } return handler(backend, msg, peer) } return fmt.Errorf("%w: %v", errInvalidMsgCode, msg.Code)