X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FRoute.java;fp=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FRoute.java;h=fc1b94fb15aaf010225928bb5e046cc8446c016d;hb=8fa2bcb208a51fa352d04981f1387d8bceced107;hp=5331768873d161e909e7eca2a7e90fe6e11baf51;hpb=7da1092518e5ea1518255a4473c178f52549fd81;p=ldk-java diff --git a/src/main/java/org/ldk/structs/Route.java b/src/main/java/org/ldk/structs/Route.java index 53317688..fc1b94fb 100644 --- a/src/main/java/org/ldk/structs/Route.java +++ b/src/main/java/org/ldk/structs/Route.java @@ -53,11 +53,9 @@ public class Route extends CommonBase { } /** - * The `payment_params` parameter passed to [`find_route`]. - * This is used by `ChannelManager` to track information which may be required for retries, - * provided back to you via [`Event::PaymentPathFailed`]. + * The `payment_params` parameter passed via [`RouteParameters`] to [`find_route`]. * - * [`Event::PaymentPathFailed`]: crate::events::Event::PaymentPathFailed + * This is used by `ChannelManager` to track information which may be required for retries. * * Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent None */ @@ -72,11 +70,9 @@ public class Route extends CommonBase { } /** - * The `payment_params` parameter passed to [`find_route`]. - * This is used by `ChannelManager` to track information which may be required for retries, - * provided back to you via [`Event::PaymentPathFailed`]. + * The `payment_params` parameter passed via [`RouteParameters`] to [`find_route`]. * - * [`Event::PaymentPathFailed`]: crate::events::Event::PaymentPathFailed + * This is used by `ChannelManager` to track information which may be required for retries. * * Note that val (or a relevant inner pointer) may be NULL or all-0s to represent None */ @@ -153,7 +149,7 @@ public class Route extends CommonBase { * Returns the total amount of fees paid on this [`Route`]. * * This doesn't include any extra payment made to the recipient, which can happen in excess of - * the amount passed to [`find_route`]'s `params.final_value_msat`. + * the amount passed to [`find_route`]'s `route_params.final_value_msat`. */ public long get_total_fees() { long ret = bindings.Route_get_total_fees(this.ptr);