rpc: fix linter warning

This commit is contained in:
Guillaume Ballet 2019-07-10 12:25:34 +02:00
parent 99e7ebe37c
commit 8efbf2134d

View file

@ -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) {