Otherwise, we figure out what happened and then call this. */
| 1307 | |
| 1308 | /* Otherwise, we figure out what happened and then call this. */ |
| 1309 | static void resolved_by_other(struct tracked_output *out, |
| 1310 | const struct bitcoin_txid *txid, |
| 1311 | enum tx_type tx_type) |
| 1312 | { |
| 1313 | out->resolved = tal(out, struct resolution); |
| 1314 | out->resolved->txid = *txid; |
| 1315 | out->resolved->depth = 0; |
| 1316 | out->resolved->tx_type = tx_type; |
| 1317 | |
| 1318 | status_debug("Resolved %s/%s by %s (%s)", |
| 1319 | tx_type_name(out->tx_type), |
| 1320 | output_type_name(out->output_type), |
| 1321 | tx_type_name(tx_type), |
| 1322 | type_to_string(tmpctx, struct bitcoin_txid, txid)); |
| 1323 | } |
| 1324 | |
| 1325 | static void unknown_spend(struct tracked_output *out, |
| 1326 | const struct tx_parts *tx_parts) |
no test coverage detected