We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5bd383 commit cedf8beCopy full SHA for cedf8be
cmd/geth/retesteth.go
@@ -679,7 +679,7 @@ func (api *RetestethAPI) AccountRange(ctx context.Context,
679
}
680
it := trie.NewIterator(accountTrie.NodeIterator(common.BigToHash((*big.Int)(addressHash)).Bytes()))
681
result := AccountRangeResult{AddressMap: make(map[common.Hash]common.Address)}
682
- for i := 0; /*i < int(maxResults) && */ it.Next(); i++ {
+ for i := 0; i < int(maxResults) && it.Next(); i++ {
683
if preimage := accountTrie.GetKey(it.Key); preimage != nil {
684
result.AddressMap[common.BytesToHash(it.Key)] = common.BytesToAddress(preimage)
685
//fmt.Printf("%x: %x\n", it.Key, preimage)
0 commit comments