| 86 | } |
| 87 | |
| 88 | static void utxo_desc_datastore_update(struct command *cmd, |
| 89 | const struct utxo_desc *utxo_desc) |
| 90 | { |
| 91 | const char **path = ds_desc_utxo_path(tmpctx, &utxo_desc->outp); |
| 92 | |
| 93 | jsonrpc_set_datastore_binary(cmd, path, |
| 94 | utxo_desc->desc, strlen(utxo_desc->desc), |
| 95 | "create-or-replace", |
| 96 | ignore_datastore_reply, NULL, NULL); |
| 97 | } |
| 98 | |
| 99 | static const char **ds_desc_payment_hash_path(const tal_t *ctx, |
| 100 | const struct sha256 *payment_hash) |
no test coverage detected