| 2282 | }; |
| 2283 | |
| 2284 | static void commitment_revocation_hook_serialize( |
| 2285 | struct commitment_revocation_payload *payload, struct json_stream *stream, |
| 2286 | struct plugin *plugin) |
| 2287 | { |
| 2288 | json_add_txid(stream, "commitment_txid", &payload->commitment_txid); |
| 2289 | json_add_tx(stream, "penalty_tx", payload->penalty_tx); |
| 2290 | json_add_channel_id(stream, "channel_id", &payload->channel_id); |
| 2291 | json_add_u64(stream, "commitnum", payload->commitnum); |
| 2292 | } |
| 2293 | |
| 2294 | static void |
| 2295 | commitment_revocation_hook_cb(struct commitment_revocation_payload *p STEALS){ |
nothing calls this directly
no test coverage detected