Skip to content

Commit 564bc71

Browse files
committed
fix lints
1 parent 1bf5412 commit 564bc71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seth/gas.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func (m *GasEstimator) Stats(ctx context.Context, blockCount uint64, priorityPer
4141
blockCount = currentBlock - 1
4242
}
4343

44-
hist, err := m.Client.Client.FeeHistory(ctx, blockCount, big.NewInt(int64(currentBlock)), []float64{priorityPerc})
44+
hist, err := m.Client.Client.FeeHistory(ctx, blockCount, big.NewInt(mustSafeInt64(currentBlock)), []float64{priorityPerc})
4545
if err != nil {
4646
return GasSuggestions{}, fmt.Errorf("failed to get fee history: %w", err)
4747
}

0 commit comments

Comments
 (0)