mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 08:49:29 +00:00
Merge 15832284a5 into 92cd26cae0
This commit is contained in:
commit
ac55cb00d0
1 changed files with 2 additions and 2 deletions
|
|
@ -308,11 +308,11 @@ func handleStorageRanges(backend Backend, msg Decoder, peer *Peer) error {
|
||||||
// Decode.
|
// Decode.
|
||||||
slotLists, err := res.Slots.Items()
|
slotLists, err := res.Slots.Items()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("AccountRange: invalid accounts list: %v", err)
|
return fmt.Errorf("StorageRanges: invalid storages list: %v", err)
|
||||||
}
|
}
|
||||||
proof, err := res.Proof.Items()
|
proof, err := res.Proof.Items()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("AccountRange: invalid proof: %v", err)
|
return fmt.Errorf("StorageRanges: invalid proof: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ensure the ranges are monotonically increasing
|
// Ensure the ranges are monotonically increasing
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue