| 2659 | }; |
| 2660 | |
| 2661 | static void commitment_revocation_hook_serialize( |
| 2662 | struct commitment_revocation_payload *payload, struct json_stream *stream, |
| 2663 | struct plugin *plugin) |
| 2664 | { |
| 2665 | json_add_txid(stream, "commitment_txid", &payload->commitment_txid); |
| 2666 | json_add_tx(stream, "penalty_tx", payload->penalty_tx); |
| 2667 | json_add_channel_id(stream, "channel_id", &payload->channel_id); |
| 2668 | json_add_u64(stream, "commitnum", payload->commitnum); |
| 2669 | } |
| 2670 | |
| 2671 | static void |
| 2672 | commitment_revocation_hook_cb(struct commitment_revocation_payload *p STEALS){ |
nothing calls this directly
no test coverage detected