mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
log: Change "Sanitizing fee history length" from WARN to INFO
This commit is contained in:
parent
ee30681a8d
commit
4491331890
1 changed files with 1 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ func (oracle *Oracle) FeeHistory(ctx context.Context, blocks uint64, unresolvedL
|
||||||
return common.Big0, nil, nil, 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 {
|
if blocks > maxFeeHistory {
|
||||||
log.Warn("Sanitizing fee history length", "requested", blocks, "truncated", maxFeeHistory)
|
log.Info("Sanitizing fee history length", "requested", blocks, "truncated", maxFeeHistory)
|
||||||
blocks = maxFeeHistory
|
blocks = maxFeeHistory
|
||||||
}
|
}
|
||||||
for i, p := range rewardPercentiles {
|
for i, p := range rewardPercentiles {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue