mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
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 <decker.christian@gmail.com>
This commit is contained in:
parent
98447e454e
commit
43b3eea783
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user