From: Matt Corallo Date: Wed, 10 Mar 2021 02:06:04 +0000 (-0500) Subject: Update C++ demo to latest upstream changes X-Git-Tag: v0.0.98~24^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=16a88b717254b46e8b014282a9280b7ce4300ab9;p=ldk-c-bindings Update C++ demo to latest upstream changes --- diff --git a/lightning-c-bindings/demo.cpp b/lightning-c-bindings/demo.cpp index 230d0c0..c6dc496 100644 --- a/lightning-c-bindings/demo.cpp +++ b/lightning-c-bindings/demo.cpp @@ -508,7 +508,9 @@ int main() { { LDK::LockedNetworkGraph graph_2_locked = NetGraphMsgHandler_read_locked_graph(&net_graph2); LDK::NetworkGraph graph_2_ref = LockedNetworkGraph_graph(&graph_2_locked); - LDK::CResult_RouteLightningErrorZ route = get_route(ChannelManager_get_our_node_id(&cm1), &graph_2_ref, ChannelManager_get_our_node_id(&cm2), &outbound_channels, LDKCVec_RouteHintZ { + LDK::CResult_RouteLightningErrorZ route = get_route(ChannelManager_get_our_node_id(&cm1), &graph_2_ref, ChannelManager_get_our_node_id(&cm2), LDKInvoiceFeatures { + .inner = NULL, .is_owned = false + }, &outbound_channels, LDKCVec_RouteHintZ { .data = NULL, .datalen = 0 }, 5000, 10, logger1); assert(route->result_ok);