projects
/
ldk-c-bindings
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
658e107
)
Print something for custom messages in C++ demo
author
Matt Corallo
<git@bluematt.me>
Wed, 1 Mar 2023 00:13:01 +0000
(
00:13
+0000)
committer
Matt Corallo
<git@bluematt.me>
Mon, 6 Mar 2023 22:48:29 +0000
(22:48 +0000)
lightning-c-bindings/demo.cpp
patch
|
blob
|
history
diff --git
a/lightning-c-bindings/demo.cpp
b/lightning-c-bindings/demo.cpp
index b6a4c722f53aa3aefef8190abeea23cfbfe261ba..7c56dd769aae1eb4670bf66732c458e3e5bcab59 100644
(file)
--- a/
lightning-c-bindings/demo.cpp
+++ b/
lightning-c-bindings/demo.cpp
@@
-431,7
+431,7
@@
LDKCVec_u8Z custom_msg_bytes(const void *this_arg) {
}
LDKStr custom_msg_debug(const void *this_arg) {
return LDKStr {
- .chars =
NULL, .len = 0
, .chars_is_owned = false
+ .chars =
(const unsigned char*) "Custom Message", .len = 14
, .chars_is_owned = false
};
}