| 1580 | } |
| 1581 | |
| 1582 | static void handle_onchaind_depth(struct tracked_output ***outs, const u8 *msg) |
| 1583 | { |
| 1584 | struct bitcoin_txid txid; |
| 1585 | u32 depth; |
| 1586 | |
| 1587 | if (!fromwire_onchaind_depth(msg, &txid, &depth)) |
| 1588 | master_badmsg(WIRE_ONCHAIND_DEPTH, msg); |
| 1589 | |
| 1590 | tx_new_depth(*outs, &txid, depth); |
| 1591 | } |
| 1592 | |
| 1593 | static void handle_onchaind_spent(struct tracked_output ***outs, const u8 *msg) |
| 1594 | { |
no test coverage detected