diff --git a/trie/proof.go b/trie/proof.go index 2e527348bf..f50a68b247 100644 --- a/trie/proof.go +++ b/trie/proof.go @@ -526,9 +526,6 @@ func VerifyRangeProof(rootHash common.Hash, firstKey []byte, keys [][]byte, valu if err != nil { return false, err } - if !bytes.Equal(firstKey, keys[0]) { - return false, errors.New("correct proof but invalid key") - } if !bytes.Equal(val, values[0]) { return false, errors.New("correct proof but invalid data") }