MCPcopy Create free account
hub / github.com/ElementsProject/lightning / scriptpubkey_watch_keyof

Function scriptpubkey_watch_keyof

plugins/bwatch/bwatch_store.c:13–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11#include <plugins/bwatch/bwatch_wiregen.h>
12
13const struct scriptpubkey *scriptpubkey_watch_keyof(const struct watch *w)
14{
15 assert(w->type == WATCH_SCRIPTPUBKEY);
16 return &w->key.scriptpubkey;
17}
18
19size_t scriptpubkey_hash(const struct scriptpubkey *scriptpubkey)
20{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected