mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
rpc: fix linter warning
This commit is contained in:
parent
99e7ebe37c
commit
8efbf2134d
1 changed files with 2 additions and 3 deletions
|
|
@ -368,9 +368,8 @@ func accountRange(st state.Trie, start *common.Hash, maxResults int) (AccountRan
|
||||||
return result, nil
|
return result, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
// AccountRangeMaxResults is the maximum number of results to be returned per call
|
||||||
AccountRangeMaxResults = 256
|
const AccountRangeMaxResults = 256
|
||||||
)
|
|
||||||
|
|
||||||
// AccountRange enumerates all accounts in the latest state
|
// AccountRange enumerates all accounts in the latest state
|
||||||
func (api *PrivateDebugAPI) AccountRange(ctx context.Context, start *common.Hash, maxResults int) (AccountRangeResult, error) {
|
func (api *PrivateDebugAPI) AccountRange(ctx context.Context, start *common.Hash, maxResults int) (AccountRangeResult, error) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue