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 cp-wjhan committed Jun 7, 2023
1 parent f4fce8e commit b1e6249
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 @@ -428,7 +428,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 b1e6249

Please sign in to comment.