| 1323 | } |
| 1324 | |
| 1325 | static void unknown_spend(struct tracked_output *out, |
| 1326 | const struct tx_parts *tx_parts) |
| 1327 | { |
| 1328 | out->resolved = tal(out, struct resolution); |
| 1329 | out->resolved->txid = tx_parts->txid; |
| 1330 | out->resolved->depth = 0; |
| 1331 | out->resolved->tx_type = UNKNOWN_TXTYPE; |
| 1332 | |
| 1333 | status_broken("Unknown spend of %s/%s by %s", |
| 1334 | tx_type_name(out->tx_type), |
| 1335 | output_type_name(out->output_type), |
| 1336 | type_to_string(tmpctx, struct bitcoin_txid, |
| 1337 | &tx_parts->txid)); |
| 1338 | } |
| 1339 | |
| 1340 | static u64 unmask_commit_number(const struct tx_parts *tx, |
| 1341 | uint32_t locktime, |
no test coverage detected