mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
eth: accountRangeAt remove txIndex parameter and only use last index in the latest block
This commit is contained in:
parent
89940c09c1
commit
49d152d253
1 changed files with 1 additions and 1 deletions
|
|
@ -357,7 +357,7 @@ func accountRange(st state.Trie, start *common.Address, maxResult int) (AccountR
|
|||
}
|
||||
|
||||
//block hash or number, tx index, start address hash, max results
|
||||
func (api *PrivateDebugAPI) AccountRangeAt(ctx context.Context, txIndex int, startAddr *common.Address, maxResults int) (AccountRangeResult, error) {
|
||||
func (api *PrivateDebugAPI) AccountRangeAt(ctx context.Context, startAddr *common.Address, maxResults int) (AccountRangeResult, error) {
|
||||
var statedb *state.StateDB = nil
|
||||
var err error = nil
|
||||
var block = api.eth.blockchain.CurrentBlock()
|
||||
|
|
|
|||
Loading…
Reference in a new issue