Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
blxdyx committed Nov 19, 2024
1 parent 6afc003 commit 09c33fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/sentry/sentry_multi_client/sentry_multi_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ func (cs *MultiClient) blockBodies66(ctx context.Context, inreq *proto_sentry.In

var request eth.BlockRawBodiesPacket66
if err := rlp.DecodeBytes(inreq.Data, &request); err != nil {
return fmt.Errorf("decode BlockBodiesPacket66: %w", err)
return fmt.Errorf("decode BlockBodiesPacket66: %w, from [%s]", err, sentry.ConvertH512ToPeerID(inreq.PeerId))
}
txs, uncles, withdrawals, sidecars := request.BlockRawBodiesPacket.Unpack()
if len(txs) == 0 && len(uncles) == 0 && len(withdrawals) == 0 {
Expand Down

0 comments on commit 09c33fe

Please sign in to comment.