mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
fix return values after cherry-pick
This commit is contained in:
parent
4408ba2d7e
commit
fce2b5b86c
1 changed files with 1 additions and 1 deletions
|
|
@ -242,7 +242,7 @@ func (oracle *Oracle) FeeHistory(ctx context.Context, blocks uint64, unresolvedL
|
|||
maxFeeHistory = oracle.maxBlockHistory
|
||||
}
|
||||
if len(rewardPercentiles) > maxQueryLimit {
|
||||
return common.Big0, nil, nil, nil, fmt.Errorf("%w: over the query limit %d", errInvalidPercentile, maxQueryLimit)
|
||||
return common.Big0, nil, nil, nil, nil, nil, fmt.Errorf("%w: over the query limit %d", errInvalidPercentile, maxQueryLimit)
|
||||
}
|
||||
if blocks > maxFeeHistory {
|
||||
log.Warn("Sanitizing fee history length", "requested", blocks, "truncated", maxFeeHistory)
|
||||
|
|
|
|||
Loading…
Reference in a new issue