Skip to content

Commit

Permalink
eth/api: use hexutil.Bytes for account range method (ethereum#25024)
Browse files Browse the repository at this point in the history
eth/api: use hexutil.Bytes for range at methods
  • Loading branch information
lightclient authored and blakehhuynh committed Oct 7, 2022
1 parent f391a11 commit 19f4e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ func (api *PrivateDebugAPI) GetBadBlocks(ctx context.Context) ([]*BadBlockArgs,
const AccountRangeMaxResults = 256

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

Expand Down

0 comments on commit 19f4e78

Please sign in to comment.