| 2563 | }; |
| 2564 | |
| 2565 | static void commitment_revocation_hook_serialize( |
| 2566 | struct commitment_revocation_payload *payload, struct json_stream *stream, |
| 2567 | struct plugin *plugin) |
| 2568 | { |
| 2569 | json_add_txid(stream, "commitment_txid", &payload->commitment_txid); |
| 2570 | json_add_tx(stream, "penalty_tx", payload->penalty_tx); |
| 2571 | json_add_channel_id(stream, "channel_id", &payload->channel_id); |
| 2572 | json_add_u64(stream, "commitnum", payload->commitnum); |
| 2573 | } |
| 2574 | |
| 2575 | static void |
| 2576 | commitment_revocation_hook_cb(struct commitment_revocation_payload *p STEALS){ |
nothing calls this directly
no test coverage detected