X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FDelayedPaymentOutputDescriptor.ts;fp=ts%2Fstructs%2FDelayedPaymentOutputDescriptor.ts;h=b89922e8b54a9725d18cce1e09b31d0dd3363f07;hb=9d146759e11191b55130be7a1b6988d3f289a168;hp=87c847e5cc2d9cf2d58bd10c42b4feda651df964;hpb=b9716bc7ee492882e4643c9365971fef3761989f;p=ldk-java diff --git a/ts/structs/DelayedPaymentOutputDescriptor.ts b/ts/structs/DelayedPaymentOutputDescriptor.ts index 87c847e5..b89922e8 100644 --- a/ts/structs/DelayedPaymentOutputDescriptor.ts +++ b/ts/structs/DelayedPaymentOutputDescriptor.ts @@ -27,7 +27,6 @@ import * as bindings from '../bindings' // TODO: figure out location public void set_outpoint(OutPoint val) { bindings.DelayedPaymentOutputDescriptor_set_outpoint(this.ptr, val == null ? 0 : val.ptr & ~1); - this.ptrs_to.add(val); } public Uint8Array get_per_commitment_point() { @@ -83,7 +82,6 @@ import * as bindings from '../bindings' // TODO: figure out location number ret = bindings.DelayedPaymentOutputDescriptor_new(outpoint_arg == null ? 0 : outpoint_arg.ptr & ~1, per_commitment_point_arg, to_self_delay_arg, output_arg.ptr, revocation_pubkey_arg, channel_keys_id_arg, channel_value_satoshis_arg); const ret_hu_conv: DelayedPaymentOutputDescriptor = new DelayedPaymentOutputDescriptor(null, ret); ret_hu_conv.ptrs_to.add(ret_hu_conv); - ret_hu_conv.ptrs_to.add(outpoint_arg); return ret_hu_conv; }