bindings updates
[ldk-java] / src / main / java / org / ldk / structs / Access.java
index 7a9b89c03bc057e0ce8591b64b6b536a7ef48a41..6b4c9a9fcbb4a3028654330c2cc49cf3d290a092 100644 (file)
@@ -29,7 +29,6 @@ public class Access extends CommonBase {
                        @Override public long get_utxo(byte[] genesis_hash, long short_channel_id) {
                                Result_TxOutAccessErrorZ ret = arg.get_utxo(genesis_hash, short_channel_id);
                                long result = ret != null ? ret.ptr : 0;
-                               ret.ptr = 0;
                                return result;
                        }
                });
@@ -38,7 +37,6 @@ public class Access extends CommonBase {
        public Result_TxOutAccessErrorZ get_utxo(byte[] genesis_hash, long short_channel_id) {
                long ret = bindings.Access_get_utxo(this.ptr, genesis_hash, short_channel_id);
                Result_TxOutAccessErrorZ ret_hu_conv = Result_TxOutAccessErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(this);
                return ret_hu_conv;
        }