projects
/
ldk-c-bindings
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Print something for custom messages in C++ demo
[ldk-c-bindings]
/
lightning-c-bindings
/
demo.cpp
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
};
}