mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-14 20:16:36 +00:00
eth/protocols/eth: fix typo in log message (#25969)
This commit is contained in:
parent
eaf095ccd4
commit
010f47f76a
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ func serviceNonContiguousBlockHeaderQuery(chain *core.BlockChain, query *GetBloc
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
if rlpData, err := rlp.EncodeToBytes(origin); err != nil {
|
if rlpData, err := rlp.EncodeToBytes(origin); err != nil {
|
||||||
log.Crit("Unable to decode our own headers", "err", err)
|
log.Crit("Unable to encode our own headers", "err", err)
|
||||||
} else {
|
} else {
|
||||||
headers = append(headers, rlp.RawValue(rlpData))
|
headers = append(headers, rlp.RawValue(rlpData))
|
||||||
bytes += common.StorageSize(len(rlpData))
|
bytes += common.StorageSize(len(rlpData))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue