From 43b3eea78329bdb1ff298074fdaef3cb36fc0c21 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Tue, 6 Aug 2019 12:37:05 +0200 Subject: [PATCH] bitcoind: Don't log when a transaction output is detected as spent Since we now check all P2WSH outputs in a block, this is getting quite a common occurence, so logging just produces lots of noise. Signed-off-by: Christian Decker --- lightningd/bitcoind.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lightningd/bitcoind.c b/lightningd/bitcoind.c index 722a1ef21..fdbd2e077 100644 --- a/lightningd/bitcoind.c +++ b/lightningd/bitcoind.c @@ -555,8 +555,6 @@ static bool process_gettxout(struct bitcoin_cli *bcli) /* As of at least v0.15.1.0, bitcoind returns "success" but an empty string on a spent gettxout */ if (*bcli->exitstatus != 0 || bcli->output_bytes == 0) { - log_debug(bcli->bitcoind->log, "%s: not unspent output?", - bcli_args(tmpctx, bcli)); cb(bcli->bitcoind, NULL, bcli->cb_arg); return true; }