mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 19:30:44 +00:00
Update proof_test.go
This commit is contained in:
parent
92df1d57dc
commit
ef6cfcd4b8
1 changed files with 2 additions and 2 deletions
|
|
@ -429,7 +429,7 @@ func TestSingleSideRangeProof(t *testing.T) {
|
|||
if err := trie.Prove(common.Hash{}.Bytes(), proof); err != nil {
|
||||
t.Fatalf("Failed to prove the first node %v", err)
|
||||
}
|
||||
if err := trie.Prove(entries[pos].k, proof); err != nil {
|
||||
if err := trie.Prove(entries[pos].k, proof); err != nil {
|
||||
t.Fatalf("Failed to prove the first node %v", err)
|
||||
}
|
||||
k := make([][]byte, 0, pos+1)
|
||||
|
|
@ -633,7 +633,7 @@ func TestHasRightElement(t *testing.T) {
|
|||
t.Fatalf("Failed to prove the first node %v", err)
|
||||
}
|
||||
}
|
||||
if err := trie.Prove(entries[c.end-1].k, proof); err != nil {
|
||||
if err := trie.Prove(entries[c.end-1].k, proof); err != nil {
|
||||
t.Fatalf("Failed to prove the first node %v", err)
|
||||
}
|
||||
k := make([][]byte, 0, end-start)
|
||||
|
|
|
|||
Loading…
Reference in a new issue