Print something for custom messages in C++ demo
[ldk-c-bindings] / lightning-c-bindings / demo.cpp
index b6a4c722f53aa3aefef8190abeea23cfbfe261ba..7c56dd769aae1eb4670bf66732c458e3e5bcab59 100644 (file)
@@ -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
        };
 }