mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
trie: rm minor leftover
This commit is contained in:
parent
c0ecc3a661
commit
bea705db05
1 changed files with 0 additions and 1 deletions
|
|
@ -489,7 +489,6 @@ func VerifyRangeProof(rootHash common.Hash, firstKey []byte, keys [][]byte, valu
|
||||||
// - monotonically increasing,
|
// - monotonically increasing,
|
||||||
// - not expanding down prefix-paths
|
// - not expanding down prefix-paths
|
||||||
// - and contains no deletions
|
// - and contains no deletions
|
||||||
//last := []byte{0}
|
|
||||||
for i := 0; i < len(keys); i++ {
|
for i := 0; i < len(keys); i++ {
|
||||||
if i < len(keys)-1 {
|
if i < len(keys)-1 {
|
||||||
if bytes.Compare(keys[i], keys[i+1]) >= 0 {
|
if bytes.Compare(keys[i], keys[i+1]) >= 0 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue