eth: change log message

This commit is contained in:
Felix Lange 2025-04-13 01:12:51 +02:00
parent a11358df21
commit 96ed987c96

View file

@ -568,6 +568,7 @@ func (h *handler) enableSyncedFeatures() {
}
}
// blockRangeState holds the state of the block range update broadcasting mechanism.
type blockRangeState struct {
prev eth.BlockRangeUpdatePacket
next eth.BlockRangeUpdatePacket
@ -655,7 +656,7 @@ func (h *handler) broadcastBlockRange(state *blockRangeState) {
return
}
msg := state.next
log.Debug("Sending BlockRangeUpdate message", "peers", len(peerlist), "earliest", msg.EarliestBlock, "latest", msg.LatestBlock)
log.Debug("Sending BlockRangeUpdate", "peers", len(peerlist), "earliest", msg.EarliestBlock, "latest", msg.LatestBlock)
for _, p := range peerlist {
p.SendBlockRangeUpdate(msg)
}