From 1af8d9ebdb8711fa6309196be8e56443361f159a Mon Sep 17 00:00:00 2001 From: tasoshi <34011607+tasoshi@users.noreply.github.com> Date: Wed, 24 Jul 2019 10:48:09 +0200 Subject: [PATCH] lightningd/chaintopology: log_debug on broadcasting error (#2792) --- lightningd/chaintopology.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lightningd/chaintopology.c b/lightningd/chaintopology.c index e29813c5d..42ef7a782 100644 --- a/lightningd/chaintopology.c +++ b/lightningd/chaintopology.c @@ -134,13 +134,11 @@ static void broadcast_remainder(struct bitcoind *bitcoind, { /* These are expected. */ if (strstr(msg, "txn-mempool-conflict") - || strstr(msg, "transaction already in block chain")) + || strstr(msg, "transaction already in block chain") + || exitstatus) log_debug(bitcoind->log, "Expected error broadcasting tx %s: %s", txs->txs[txs->cursor], msg); - else if (exitstatus) - log_unusual(bitcoind->log, "Broadcasting tx %s: %i %s", - txs->txs[txs->cursor], exitstatus, msg); txs->cursor++; if (txs->cursor == tal_count(txs->txs)) {