Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
owen committed Jul 3, 2023
1 parent f4acfa2 commit 17522f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gasprice/feehistory.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ type FeeHistoryReturn struct {
Reward [][]uint64
}

func (g *GasHelper) FeeHistory(blockCount uint64, newestBlock uint64, rewardPercentiles []float64) (*FeeHistoryReturn, error) {
func (g *GasHelper) FeeHistory(blockCount uint64, newestBlock uint64, rewardPercentiles []float64) (
*FeeHistoryReturn, error) {
if blockCount < 1 {
return &FeeHistoryReturn{0, nil, nil, nil}, ErrBlockCount
}
Expand Down

0 comments on commit 17522f8

Please sign in to comment.