projects
/
ldk-c-bindings
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #40 from TheBlueMatt/main
[ldk-c-bindings]
/
lightning-c-bindings
/
include
/
lightning.h
diff --git
a/lightning-c-bindings/include/lightning.h
b/lightning-c-bindings/include/lightning.h
index ea3e972ee8a4e67ee37a042b8e47e0f35ba11a8f..9529ff757c0d6da158cb10c1619fa62a6130bcbb 100644
(file)
--- a/
lightning-c-bindings/include/lightning.h
+++ b/
lightning-c-bindings/include/lightning.h
@@
-18379,7
+18379,10
@@
MUST_USE_RES struct LDKShutdownScript ShutdownScript_new_p2wpkh(const uint8_t (*
MUST_USE_RES struct LDKShutdownScript ShutdownScript_new_p2wsh(const uint8_t (*script_hash)[32]);
/**
MUST_USE_RES struct LDKShutdownScript ShutdownScript_new_p2wsh(const uint8_t (*script_hash)[32]);
/**
- * Generates a P2WSH script pubkey from the given segwit version and program.
+ * Generates a witness script pubkey from the given segwit version and program.
+ *
+ * Note for version-zero witness scripts you must use [`ShutdownScript::new_p2wpkh`] or
+ * [`ShutdownScript::new_p2wsh`] instead.
*
* # Errors
*
*
* # Errors
*