mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
Remove unused parameter topo in txw_fire(struct chain_topology *topo, ...)
This commit is contained in:
committed by
Christian Decker
parent
0046ace318
commit
1b51b5ae0f
@@ -205,8 +205,7 @@ struct txowatch *watch_txo(const tal_t *ctx,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Returns true if we fired a callback */
|
/* Returns true if we fired a callback */
|
||||||
static bool txw_fire(struct chain_topology *topo,
|
static bool txw_fire(struct txwatch *txw,
|
||||||
struct txwatch *txw,
|
|
||||||
const struct bitcoin_tx *tx,
|
const struct bitcoin_tx *tx,
|
||||||
unsigned int depth)
|
unsigned int depth)
|
||||||
{
|
{
|
||||||
@@ -287,7 +286,7 @@ again:
|
|||||||
|
|
||||||
depth = get_tx_depth(topo, &w->txid, &tx);
|
depth = get_tx_depth(topo, &w->txid, &tx);
|
||||||
if (depth)
|
if (depth)
|
||||||
needs_rerun |= txw_fire(topo, w, tx, depth);
|
needs_rerun |= txw_fire(w, tx, depth);
|
||||||
}
|
}
|
||||||
if (needs_rerun)
|
if (needs_rerun)
|
||||||
goto again;
|
goto again;
|
||||||
|
|||||||
Reference in New Issue
Block a user