mirror of
https://github.com/vacp2p/status-linea-besu.git
synced 2026-01-09 22:07:59 -05:00
Log missing chain head as warning, not trace (#6127)
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
This commit is contained in:
@@ -273,7 +273,7 @@ public class TransactionPool implements BlockAddedObserver {
|
||||
return ValidationResult.invalid(rejectReason);
|
||||
}
|
||||
} else {
|
||||
LOG.atTrace()
|
||||
LOG.atWarn()
|
||||
.setMessage("Discard invalid transaction {}, reason {}")
|
||||
.addArgument(transaction::toTraceLog)
|
||||
.addArgument(validationResult.result::getInvalidReason)
|
||||
@@ -420,7 +420,7 @@ public class TransactionPool implements BlockAddedObserver {
|
||||
|
||||
final BlockHeader chainHeadBlockHeader = getChainHeadBlockHeader().orElse(null);
|
||||
if (chainHeadBlockHeader == null) {
|
||||
LOG.atTrace()
|
||||
LOG.atWarn()
|
||||
.setMessage("rejecting transaction {} due to chain head not available yet")
|
||||
.addArgument(transaction::getHash)
|
||||
.log();
|
||||
|
||||
Reference in New Issue
Block a user