projects
/
ldk-c-bindings
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8cf7fe4
)
Update C++ bindings demo to new upstream API
author
Matt Corallo
<git@bluematt.me>
Wed, 21 Apr 2021 22:31:54 +0000
(22:31 +0000)
committer
Matt Corallo
<git@bluematt.me>
Wed, 21 Apr 2021 22:31:54 +0000
(22:31 +0000)
lightning-c-bindings/demo.cpp
patch
|
blob
|
history
diff --git
a/lightning-c-bindings/demo.cpp
b/lightning-c-bindings/demo.cpp
index e0827f6c726cb04ffa2fe3d04ae83e9c39835792..cee3054f4a90555a2ec7aba50e221fb5961df3bc 100644
(file)
--- 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_RouteHint
Hop
Z {
.data = NULL, .datalen = 0
}, 5000, 10, logger1);
assert(route->result_ok);