Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jewei1997 committed Oct 4, 2024
1 parent 01c6965 commit 491c3fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions evmrpc/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ func (i *InfoAPI) GasPrice(ctx context.Context) (result *hexutil.Big, returnErr
feeHist.Reward[0][0].ToInt(),
baseFee,
)
gp := (*hexutil.Big)(sum)
return gp, nil
return (*hexutil.Big)(sum), nil
}

// lastBlock is inclusive
Expand Down

0 comments on commit 491c3fa

Please sign in to comment.