Skip to content

Commit

Permalink
suppress rejected Tx log to Debug level (#314)
Browse files Browse the repository at this point in the history
Co-authored-by: Thane Thomson <connect@thanethomson.com>
  • Loading branch information
JayT106 and thanethomson authored Feb 10, 2023
1 parent 2f39a99 commit 1fee127
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 @@ -454,7 +454,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 1fee127

Please sign in to comment.