From 49d152d253a568c40965a319db0738a02e71def8 Mon Sep 17 00:00:00 2001 From: Jared Wasinger Date: Wed, 5 Dec 2018 14:28:29 +0000 Subject: [PATCH] eth: accountRangeAt remove txIndex parameter and only use last index in the latest block --- eth/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/api.go b/eth/api.go index 509f79028a..7614e96f11 100644 --- a/eth/api.go +++ b/eth/api.go @@ -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()