| 497 | } |
| 498 | |
| 499 | static void onchain_annotate_txout(struct channel *channel, const u8 *msg) |
| 500 | { |
| 501 | struct bitcoin_outpoint outpoint; |
| 502 | enum wallet_tx_type type; |
| 503 | if (!fromwire_onchaind_annotate_txout(msg, &outpoint, &type)) |
| 504 | fatal("onchaind gave invalid onchain_annotate_txout " |
| 505 | "message: %s", |
| 506 | tal_hex(msg, msg)); |
| 507 | wallet_annotate_txout(channel->peer->ld->wallet, &outpoint, type, |
| 508 | channel->dbid); |
| 509 | } |
| 510 | |
| 511 | static void onchain_annotate_txin(struct channel *channel, const u8 *msg) |
| 512 | { |
no test coverage detected