Skip to content

Commit

Permalink
Revert "Discard invalid transaction" warning logs (hyperledger#6137)
Browse files Browse the repository at this point in the history
* Revert "Log missing chain head as warning, not trace (hyperledger#6127)"
* leave chain head at warning, just revert the discard warning

Signed-off-by: garyschulte <garyschulte@gmail.com>
(cherry picked from commit 914ab79)
  • Loading branch information
garyschulte authored and jflo committed Nov 10, 2023
1 parent fdac9d4 commit ecf8e6e
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit ecf8e6e

Please sign in to comment.