mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-04 22:18:40 +00:00
eth/protocols/snap: fix error message (#34976)
This commit is contained in:
parent
5933fa4bbf
commit
622cef2d06
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