Skip to content

Commit

Permalink
eth/protocols/eth: fix typo in log message (ethereum#25969)
Browse files Browse the repository at this point in the history
  • Loading branch information
DragonDev1906 authored Oct 12, 2022
1 parent eaf095c commit 010f47f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/protocols/eth/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func serviceNonContiguousBlockHeaderQuery(chain *core.BlockChain, query *GetBloc
break
}
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 {
headers = append(headers, rlp.RawValue(rlpData))
bytes += common.StorageSize(len(rlpData))
Expand Down

0 comments on commit 010f47f

Please sign in to comment.