| 298 | } |
| 299 | |
| 300 | static char *fmt_scriptpubkey(const tal_t *ctx, |
| 301 | const struct scriptpubkey *scriptpubkey) |
| 302 | { |
| 303 | return tal_hexstr(ctx, scriptpubkey->script, scriptpubkey->len); |
| 304 | } |
| 305 | |
| 306 | /* Build the datastore key path for a watch. All watch types share the |
| 307 | * ["bwatch", <type>, <stringified-key>] layout; only the key payload |
no test coverage detected