| 847 | } |
| 848 | |
| 849 | static void unknown_spend(struct tracked_output *out, |
| 850 | const struct tx_parts *tx_parts) |
| 851 | { |
| 852 | out->resolved = tal(out, struct resolution); |
| 853 | out->resolved->txid = tx_parts->txid; |
| 854 | out->resolved->depth = 0; |
| 855 | out->resolved->tx_type = UNKNOWN_TXTYPE; |
| 856 | |
| 857 | status_broken("Unknown spend of %s/%s by %s", |
| 858 | tx_type_name(out->tx_type), |
| 859 | output_type_name(out->output_type), |
| 860 | fmt_bitcoin_txid(tmpctx, &tx_parts->txid)); |
| 861 | } |
| 862 | |
| 863 | static u64 unmask_commit_number(const struct tx_parts *tx, |
| 864 | uint32_t locktime, |
no test coverage detected