Skip to content

Commit 5905577

Browse files
authored
Merge pull request #102 from TheBlueMatt/main
Fix C++ demo bindings build due to function signature mismatch
2 parents 17cbe5d + f266cd7 commit 5905577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning-c-bindings/demo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ uint64_t get_chan_score(const void *this_arg, uint64_t scid, const LDKNodeId *sr
482482
return 42;
483483
}
484484

485-
struct LDKCResult_RouteLightningErrorZ custom_find_route(const void *this_arg, struct LDKPublicKey payer, const struct LDKRouteParameters *NONNULL_PTR route_params, struct LDKCVec_ChannelDetailsZ *first_hops, const struct LDKInFlightHtlcs *in_flights) {
485+
struct LDKCResult_RouteLightningErrorZ custom_find_route(const void *this_arg, struct LDKPublicKey payer, const struct LDKRouteParameters *NONNULL_PTR route_params, struct LDKCVec_ChannelDetailsZ *first_hops, const struct LDKInFlightHtlcs *in_flights, LDKThirtyTwoBytes payment_id, LDKThirtyTwoBytes payment_hash) {
486486
const LDK::DefaultRouter *router = (LDK::DefaultRouter *)this_arg;
487487
assert(first_hops->datalen == 1);
488488
assert(ChannelDetails_get_is_usable(&first_hops->data[0]));

0 commit comments

Comments
 (0)