X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FResult_OutPointDecodeErrorZ.java;fp=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FResult_OutPointDecodeErrorZ.java;h=4eb02c3b5c9aa9f35d1c80248945264a3fc8fb37;hb=0f5027835d5a668a9b296f6d9e0fe894d3a6956d;hp=1aceb04caf536017215c9c9c9040126f2f549753;hpb=a77a2856c7cd010a7b478cce793f7c9f999284d8;p=ldk-java diff --git a/src/main/java/org/ldk/structs/Result_OutPointDecodeErrorZ.java b/src/main/java/org/ldk/structs/Result_OutPointDecodeErrorZ.java index 1aceb04c..4eb02c3b 100644 --- a/src/main/java/org/ldk/structs/Result_OutPointDecodeErrorZ.java +++ b/src/main/java/org/ldk/structs/Result_OutPointDecodeErrorZ.java @@ -43,7 +43,7 @@ public class Result_OutPointDecodeErrorZ extends CommonBase { /** * Creates a new CResult_OutPointDecodeErrorZ in the success state. */ - public static Result_OutPointDecodeErrorZ constructor_ok(OutPoint o) { + public static Result_OutPointDecodeErrorZ ok(OutPoint o) { long ret = bindings.CResult_OutPointDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1); Result_OutPointDecodeErrorZ ret_hu_conv = Result_OutPointDecodeErrorZ.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(o); @@ -53,7 +53,7 @@ public class Result_OutPointDecodeErrorZ extends CommonBase { /** * Creates a new CResult_OutPointDecodeErrorZ in the error state. */ - public static Result_OutPointDecodeErrorZ constructor_err(DecodeError e) { + public static Result_OutPointDecodeErrorZ err(DecodeError e) { long ret = bindings.CResult_OutPointDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1); Result_OutPointDecodeErrorZ ret_hu_conv = Result_OutPointDecodeErrorZ.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(e);