Skip to content

Commit 10da980

Browse files
authored
eth/api: use hexutil.Bytes for account range method (#25024)
eth/api: use hexutil.Bytes for range at methods
1 parent 22defa5 commit 10da980

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eth/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ func (api *PrivateDebugAPI) GetBadBlocks(ctx context.Context) ([]*BadBlockArgs,
361361
const AccountRangeMaxResults = 256
362362

363363
// AccountRange enumerates all accounts in the given block and start point in paging request
364-
func (api *PublicDebugAPI) AccountRange(blockNrOrHash rpc.BlockNumberOrHash, start []byte, maxResults int, nocode, nostorage, incompletes bool) (state.IteratorDump, error) {
364+
func (api *PublicDebugAPI) AccountRange(blockNrOrHash rpc.BlockNumberOrHash, start hexutil.Bytes, maxResults int, nocode, nostorage, incompletes bool) (state.IteratorDump, error) {
365365
var stateDb *state.StateDB
366366
var err error
367367

0 commit comments

Comments
 (0)