Browse Source

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

ppa-0.6.1
practicalswift 7 years ago
committed by Christian Decker
parent
commit
0046ace318
  1. 2
      lightningd/chaintopology.c
  2. 5
      lightningd/watch.c
  3. 3
      lightningd/watch.h

2
lightningd/chaintopology.c

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

5
lightningd/watch.c

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

3
lightningd/watch.h

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

Loading…
Cancel
Save