Update C and C++ demos to latest API and test custom messages
[ldk-c-bindings] / lightning-c-bindings / demo.c
index a9556303fa3d1a0e826fbcff69625a38f8124b03..e8a0997363b9291cfce627339c6dba1116950b5a 100644 (file)
@@ -35,7 +35,7 @@ LDKCVec_MonitorEventZ monitors_pending_monitor_events(const void *this_arg) {
        return empty_htlc_vec;
 }
 
-void never_handle_event(const void *this_arg, struct LDKEvent event) {
+void never_handle_event(const void *this_arg, const struct LDKEvent* event) {
        // Note that we never actually generate any events to handle in the code below.
        assert(false);
 }