Skip to content

Commit fce2b5b

Browse files
committed
fix return values after cherry-pick
1 parent 4408ba2 commit fce2b5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eth/gasprice/feehistory.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ func (oracle *Oracle) FeeHistory(ctx context.Context, blocks uint64, unresolvedL
242242
maxFeeHistory = oracle.maxBlockHistory
243243
}
244244
if len(rewardPercentiles) > maxQueryLimit {
245-
return common.Big0, nil, nil, nil, fmt.Errorf("%w: over the query limit %d", errInvalidPercentile, maxQueryLimit)
245+
return common.Big0, nil, nil, nil, nil, nil, fmt.Errorf("%w: over the query limit %d", errInvalidPercentile, maxQueryLimit)
246246
}
247247
if blocks > maxFeeHistory {
248248
log.Warn("Sanitizing fee history length", "requested", blocks, "truncated", maxFeeHistory)

0 commit comments

Comments
 (0)