From 8efbf2134d8dc206f48245f5cd18ce68598b9f81 Mon Sep 17 00:00:00 2001 From: Guillaume Ballet Date: Wed, 10 Jul 2019 12:25:34 +0200 Subject: [PATCH] rpc: fix linter warning --- eth/api.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/eth/api.go b/eth/api.go index caa31b9fa5..f94795073d 100644 --- a/eth/api.go +++ b/eth/api.go @@ -368,9 +368,8 @@ func accountRange(st state.Trie, start *common.Hash, maxResults int) (AccountRan return result, nil } -const ( - AccountRangeMaxResults = 256 -) +// AccountRangeMaxResults is the maximum number of results to be returned per call +const AccountRangeMaxResults = 256 // AccountRange enumerates all accounts in the latest state func (api *PrivateDebugAPI) AccountRange(ctx context.Context, start *common.Hash, maxResults int) (AccountRangeResult, error) {