mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-11 09:04:21 +01:00
Remove unused parameter topo in txowatch_fire(struct chain_topology *topo, ...)
This commit is contained in:
committed by
Christian Decker
parent
74841ef567
commit
0046ace318
@@ -71,7 +71,7 @@ static void filter_block_txs(struct chain_topology *topo, struct block *b)
|
||||
|
||||
txo = txowatch_hash_get(&topo->txowatches, &out);
|
||||
if (txo)
|
||||
txowatch_fire(topo, txo, tx, j, b);
|
||||
txowatch_fire(txo, tx, j, b);
|
||||
}
|
||||
|
||||
satoshi_owned = 0;
|
||||
|
||||
@@ -241,11 +241,10 @@ void txwatch_fire(struct chain_topology *topo,
|
||||
txw = txwatch_hash_get(&topo->txwatches, &txid);
|
||||
|
||||
if (txw)
|
||||
txw_fire(topo, txw, tx, depth);
|
||||
txw_fire(txw, tx, depth);
|
||||
}
|
||||
|
||||
void txowatch_fire(struct chain_topology *topo,
|
||||
const struct txowatch *txow,
|
||||
void txowatch_fire(const struct txowatch *txow,
|
||||
const struct bitcoin_tx *tx,
|
||||
size_t input_num,
|
||||
const struct block *block)
|
||||
|
||||
@@ -73,8 +73,7 @@ void txwatch_fire(struct chain_topology *topo,
|
||||
const struct bitcoin_tx *tx,
|
||||
unsigned int depth);
|
||||
|
||||
void txowatch_fire(struct chain_topology *topo,
|
||||
const struct txowatch *txow,
|
||||
void txowatch_fire(const struct txowatch *txow,
|
||||
const struct bitcoin_tx *tx, size_t input_num,
|
||||
const struct block *block);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user