Revert "Update C++ demo to new upstream changes"
[ldk-c-bindings] / lightning-c-bindings / demo.cpp
index b71edc324581052dc102f17d3a0dcbe331a055f2..1d8b9ece518b57a76f87742e00a0b3b80fed9643 100644 (file)
@@ -308,7 +308,7 @@ public:
                        .disconnect_socket = sock_disconnect_socket,
                        .eq = sock_eq,
                        .hash = sock_hash,
-                       .clone = NULL,
+                       .cloned = NULL,
                        .free = NULL,
                };
 
@@ -318,7 +318,7 @@ public:
                        .disconnect_socket = sock_disconnect_socket,
                        .eq = sock_eq,
                        .hash = sock_hash,
-                       .clone = NULL,
+                       .cloned = NULL,
                        .free = NULL,
                };