| 104 | } |
| 105 | |
| 106 | static void payment_hash_desc_datastore_update(struct command *cmd, |
| 107 | const struct payment_hash_desc *phd) |
| 108 | { |
| 109 | const char **path = ds_desc_payment_hash_path(tmpctx, &phd->payment_hash); |
| 110 | jsonrpc_set_datastore_binary(cmd, path, phd->desc, strlen(phd->desc), |
| 111 | "create-or-replace", |
| 112 | ignore_datastore_reply, NULL, NULL); |
| 113 | } |
| 114 | |
| 115 | static struct payment_hash_desc * |
| 116 | new_payment_hash_description(struct descriptions *descriptions, |
no test coverage detected