Skip to content

Commit

Permalink
Revert "Log missing chain head as warning, not trace (#6127)"
Browse files Browse the repository at this point in the history
This reverts commit 83ae69a.
  • Loading branch information
garyschulte authored Nov 7, 2023
1 parent 2284242 commit 233dde5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ private ValidationResult<TransactionInvalidReason> addTransaction(
return ValidationResult.invalid(rejectReason);
}
} else {
LOG.atWarn()
LOG.atTrace()
.setMessage("Discard invalid transaction {}, reason {}")
.addArgument(transaction::toTraceLog)
.addArgument(validationResult.result::getInvalidReason)
Expand Down Expand Up @@ -420,7 +420,7 @@ private ValidationResultAndAccount validateTransaction(

final BlockHeader chainHeadBlockHeader = getChainHeadBlockHeader().orElse(null);
if (chainHeadBlockHeader == null) {
LOG.atWarn()
LOG.atTrace()
.setMessage("rejecting transaction {} due to chain head not available yet")
.addArgument(transaction::getHash)
.log();
Expand Down

0 comments on commit 233dde5

Please sign in to comment.