Skip to content

Commit

Permalink
suppress rejected Tx log to Debug level (#306)
Browse files Browse the repository at this point in the history
Co-authored-by: Thane Thomson <[email protected]>
  • Loading branch information
JayT106 and thanethomson authored Feb 10, 2023
1 parent 502b2e7 commit 8415b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mempool/v1/mempool.go
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ func (txmp *TxMempool) addNewTransaction(wtx *WrappedTx, checkTxRes *abci.Respon
}

if err != nil || checkTxRes.Code != abci.CodeTypeOK {
txmp.logger.Info(
txmp.logger.Debug(
"rejected bad transaction",
"priority", wtx.Priority(),
"tx", fmt.Sprintf("%X", wtx.tx.Hash()),
Expand Down

0 comments on commit 8415b54

Please sign in to comment.