Skip to content

Commit 12da506

Browse files
committed
Print something for custom messages in C++ demo
1 parent 658e107 commit 12da506

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning-c-bindings/demo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ LDKCVec_u8Z custom_msg_bytes(const void *this_arg) {
431431
}
432432
LDKStr custom_msg_debug(const void *this_arg) {
433433
return LDKStr {
434-
.chars = NULL, .len = 0, .chars_is_owned = false
434+
.chars = (const unsigned char*) "Custom Message", .len = 14, .chars_is_owned = false
435435
};
436436
}
437437

0 commit comments

Comments
 (0)