X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FPaymentSendFailure.ts;h=32bef844f5468cd54fae47e522e27a73771382e7;hb=fed2245c60159f6c074c9ed5c0f3ce273ad9841b;hp=04ea895d02b01c8b0c10a010dc34a16cae1604a5;hpb=e9c2970adecaa14b3e83e11eb160a7bcbdae20da;p=ldk-java diff --git a/ts/structs/PaymentSendFailure.ts b/ts/structs/PaymentSendFailure.ts index 04ea895d..32bef844 100644 --- a/ts/structs/PaymentSendFailure.ts +++ b/ts/structs/PaymentSendFailure.ts @@ -18,4 +18,11 @@ import * as bindings from '../bindings' // TODO: figure out location bindings.PaymentSendFailure_free(this.ptr); } } + public PaymentSendFailure clone() { + number ret = bindings.PaymentSendFailure_clone(this.ptr); + const ret_hu_conv: PaymentSendFailure = new PaymentSendFailure(null, ret); + ret_hu_conv.ptrs_to.add(this); + return ret_hu_conv; + } + }