mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 08:49:29 +00:00
eth/protocols/snap: fix error message
This commit is contained in:
parent
21c5a287f9
commit
15832284a5
1 changed files with 2 additions and 2 deletions
|
|
@ -308,11 +308,11 @@ func handleStorageRanges(backend Backend, msg Decoder, peer *Peer) error {
|
|||
// Decode.
|
||||
slotLists, err := res.Slots.Items()
|
||||
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()
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue