From: Matt Corallo Date: Wed, 21 Apr 2021 22:31:54 +0000 (+0000) Subject: Update C++ bindings demo to new upstream API X-Git-Tag: v0.0.98~13^2~5 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=6570ad5ffad55c35a06f8fe446da460388d92b79;p=ldk-c-bindings Update C++ bindings demo to new upstream API --- diff --git a/lightning-c-bindings/demo.cpp b/lightning-c-bindings/demo.cpp index e0827f6..cee3054 100644 --- a/lightning-c-bindings/demo.cpp +++ b/lightning-c-bindings/demo.cpp @@ -510,7 +510,7 @@ int main() { 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), LDKInvoiceFeatures { .inner = NULL, .is_owned = false - }, &outbound_channels, LDKCVec_RouteHintZ { + }, &outbound_channels, LDKCVec_RouteHintHopZ { .data = NULL, .datalen = 0 }, 5000, 10, logger1); assert(route->result_ok);