mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
lightningd/chaintopology: log_debug on broadcasting error (#2792)
This commit is contained in:
committed by
ZmnSCPxj, ZmnSCPxj jxPCSmnZ
parent
d551b125cc
commit
1af8d9ebdb
@@ -134,13 +134,11 @@ static void broadcast_remainder(struct bitcoind *bitcoind,
|
|||||||
{
|
{
|
||||||
/* These are expected. */
|
/* These are expected. */
|
||||||
if (strstr(msg, "txn-mempool-conflict")
|
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,
|
log_debug(bitcoind->log,
|
||||||
"Expected error broadcasting tx %s: %s",
|
"Expected error broadcasting tx %s: %s",
|
||||||
txs->txs[txs->cursor], msg);
|
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++;
|
txs->cursor++;
|
||||||
if (txs->cursor == tal_count(txs->txs)) {
|
if (txs->cursor == tal_count(txs->txs)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user