From 19d28f90e63ce26afd3411b5058b87138b6683d4 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Mon, 7 Oct 2013 18:45:53 -0500 Subject: [PATCH] Log transactions rejected from mempool as debug. Most users won't care if a freestanding transaction is rejected from due to a rule violation, but the information should still be available to debug. --- peer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peer.go b/peer.go index 9ec5baed..a5997072 100644 --- a/peer.go +++ b/peer.go @@ -422,7 +422,7 @@ func (p *peer) handleTxMsg(msg *btcwire.MsgTx) { // so log it as such. Otherwise, something really did go wrong, // so log it as an actual error. if _, ok := err.(TxRuleError); ok { - log.Infof("Rejected transaction %v: %v", hash, err) + log.Debugf("Rejected transaction %v: %v", hash, err) } else { log.Errorf("Failed to process transaction %v: %v", hash, err) }