mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
eth: change log message
This commit is contained in:
parent
a11358df21
commit
96ed987c96
1 changed files with 2 additions and 1 deletions
|
|
@ -568,6 +568,7 @@ func (h *handler) enableSyncedFeatures() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// blockRangeState holds the state of the block range update broadcasting mechanism.
|
||||||
type blockRangeState struct {
|
type blockRangeState struct {
|
||||||
prev eth.BlockRangeUpdatePacket
|
prev eth.BlockRangeUpdatePacket
|
||||||
next eth.BlockRangeUpdatePacket
|
next eth.BlockRangeUpdatePacket
|
||||||
|
|
@ -655,7 +656,7 @@ func (h *handler) broadcastBlockRange(state *blockRangeState) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
msg := state.next
|
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 {
|
for _, p := range peerlist {
|
||||||
p.SendBlockRangeUpdate(msg)
|
p.SendBlockRangeUpdate(msg)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue