| 796 | } |
| 797 | |
| 798 | static void unknown_spend(struct tracked_output *out, |
| 799 | const struct tx_parts *tx_parts) |
| 800 | { |
| 801 | out->resolved = tal(out, struct resolution); |
| 802 | out->resolved->txid = tx_parts->txid; |
| 803 | out->resolved->depth = 0; |
| 804 | out->resolved->tx_type = UNKNOWN_TXTYPE; |
| 805 | |
| 806 | status_broken("Unknown spend of %s/%s by %s", |
| 807 | tx_type_name(out->tx_type), |
| 808 | output_type_name(out->output_type), |
| 809 | fmt_bitcoin_txid(tmpctx, &tx_parts->txid)); |
| 810 | } |
| 811 | |
| 812 | static u64 unmask_commit_number(const struct tx_parts *tx, |
| 813 | uint32_t locktime, |
no test coverage detected