| 242 | } |
| 243 | |
| 244 | void txwatch_fire(struct chain_topology *topo, |
| 245 | const struct bitcoin_txid *txid, |
| 246 | unsigned int depth) |
| 247 | { |
| 248 | struct txwatch *txw; |
| 249 | |
| 250 | txw = txwatch_hash_get(&topo->txwatches, txid); |
| 251 | |
| 252 | if (txw) |
| 253 | txw_fire(txw, txid, depth); |
| 254 | } |
| 255 | |
| 256 | void txowatch_fire(const struct txowatch *txow, |
| 257 | const struct bitcoin_tx *tx, |
no test coverage detected