mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
more
This commit is contained in:
parent
23f47b77a0
commit
8dbe2bb80d
1 changed files with 2 additions and 4 deletions
|
|
@ -45,14 +45,12 @@ func TestAccountRangeAt(t *testing.T) {
|
|||
state.SetBalance(addrs[i], big.NewInt(1))
|
||||
}
|
||||
|
||||
// test retrieving less than max results
|
||||
state.CommitTrie() // is this needed?
|
||||
|
||||
/*
|
||||
result := accountRangeAt(state.Trie(), common.Address{0x0}, 128)
|
||||
result := accountRange(state.Database().OpenTrie(/* root ??? */), common.Address{0x0}, 128)
|
||||
if len(result.Addresses) != 128 {
|
||||
t.Fatalf("expected 128 results. Got %d", len(result.Addresses))
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
func TestStorageRangeAt(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue