Patch for concurrent iterator & others (onto v1.11.6) #386
@ -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 New Issue
Block a user