mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-05 23:24:21 +01:00
lightningd: remove log_add functions.
They added complexity, and were only used in a few places. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -229,8 +229,8 @@ void broadcast_tx(struct chain_topology *topo,
|
||||
tal_free(rawtx);
|
||||
tal_add_destructor2(channel, clear_otx_channel, otx);
|
||||
|
||||
log_add(topo->log, " (tx %s)",
|
||||
type_to_string(tmpctx, struct bitcoin_txid, &otx->txid));
|
||||
log_debug(topo->log, "Broadcasting txid %s",
|
||||
type_to_string(tmpctx, struct bitcoin_txid, &otx->txid));
|
||||
|
||||
wallet_transaction_add(topo->ld->wallet, tx, 0, 0);
|
||||
bitcoind_sendrawtx(topo->bitcoind, otx->hextx, broadcast_done, otx);
|
||||
|
||||
Reference in New Issue
Block a user