X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FPrivateRoute.java;h=60972ce1ef044b2e1d85efe0309b76d806000f3e;hb=330ca992be304d0eac79bd59b411980dff294b03;hp=f839d1a3b18c7efa963e3138da8d8fcba6d4473a;hpb=1852c471e433c02edcae4803ba52bfec05c5631c;p=ldk-java diff --git a/src/main/java/org/ldk/structs/PrivateRoute.java b/src/main/java/org/ldk/structs/PrivateRoute.java index f839d1a3..60972ce1 100644 --- a/src/main/java/org/ldk/structs/PrivateRoute.java +++ b/src/main/java/org/ldk/structs/PrivateRoute.java @@ -58,7 +58,7 @@ public class PrivateRoute extends CommonBase { * This ignores pointers and is_owned flags and looks at the values in fields. * Two objects with NULL inner values will be considered "equal" here. */ - public boolean eq(PrivateRoute b) { + public boolean eq(org.ldk.structs.PrivateRoute b) { boolean ret = bindings.PrivateRoute_eq(this.ptr, b == null ? 0 : b.ptr); Reference.reachabilityFence(this); Reference.reachabilityFence(b); @@ -73,7 +73,7 @@ public class PrivateRoute extends CommonBase { /** * Creates a new (partial) route from a list of hops */ - public static Result_PrivateRouteCreationErrorZ of(RouteHint hops) { + public static Result_PrivateRouteCreationErrorZ of(org.ldk.structs.RouteHint hops) { long ret = bindings.PrivateRoute_new(hops == null ? 0 : hops.ptr); Reference.reachabilityFence(hops); if (ret >= 0 && ret <= 4096) { return null; }