Remove unused parameter topo in txowatch_fire(struct chain_topology *topo, ...)

This commit is contained in:
practicalswift 2018-02-21 16:57:45 +01:00 committed by Christian Decker
parent 74841ef567
commit 0046ace318
3 changed files with 4 additions and 6 deletions

View File

@ -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;

View File

@ -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)

View File

@ -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);