Merge pull request #47 from TheBlueMatt/main
[ldk-java] / src / main / java / org / ldk / structs / Result_ChannelPublicKeysDecodeErrorZ.java
index c56540a3b33de5283f7bc7fa551b20ae1d1ac29f..2410d01014c4c3059a5b5b548c6f97fd5c2f85b5 100644 (file)
@@ -48,7 +48,6 @@ public class Result_ChannelPublicKeysDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ChannelPublicKeysDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ChannelPublicKeysDecodeErrorZ ret_hu_conv = Result_ChannelPublicKeysDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_ChannelPublicKeysDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ChannelPublicKeysDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ChannelPublicKeysDecodeErrorZ ret_hu_conv = Result_ChannelPublicKeysDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }