Skip to content

Commit 790f926

Browse files
authored
Merge pull request #1521 from PhilippeR26/change-tip-alert
Change tip alert
2 parents 552a8c7 + 1db744f commit 790f926

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/provider/modules/tip.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ async function getTipStatsParallel(
316316

317317
// Handle insufficient transaction data
318318
if (allTips.length < minTxsNecessary) {
319-
logger.error(
319+
logger.warn(
320320
`Insufficient transaction data: found ${allTips.length} V3 transactions with tips in ${analyzedBlocks} blocks ` +
321321
`(block range: ${Math.max(0, startingBlockNumber - maxBlocks + 1)}-${startingBlockNumber}). ` +
322322
`Required: ${minTxsNecessary} transactions. Consider reducing minTxsNecessary or increasing maxBlocks.`
@@ -384,7 +384,7 @@ async function getTipStatsSequential(
384384

385385
// Handle insufficient transaction data
386386
if (allTips.length < minTxsNecessary) {
387-
logger.error(
387+
logger.warn(
388388
`Insufficient transaction data: found ${allTips.length} V3 transactions with tips in ${blocksAnalyzed} blocks ` +
389389
`(block range: ${Math.max(0, startingBlockNumber - maxBlocks + 1)}-${startingBlockNumber}). ` +
390390
`Required: ${minTxsNecessary} transactions. Consider reducing minTxsNecessary or increasing maxBlocks.`

0 commit comments

Comments
 (0)