X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FInvalidShutdownScript.ts;h=0f5a990f31a17ebfac98a5a42cbdced1d2b01990;hb=f3e670e9341decac613d33fc52febf19cea32f20;hp=ded8295c67d913cacdaf64bfc499fb5a0ca58901;hpb=1d0c372339e4d0148449728072c95964088412c4;p=ldk-java diff --git a/ts/structs/InvalidShutdownScript.ts b/ts/structs/InvalidShutdownScript.ts index ded8295c..0f5a990f 100644 --- a/ts/structs/InvalidShutdownScript.ts +++ b/ts/structs/InvalidShutdownScript.ts @@ -34,4 +34,16 @@ import * as bindings from '../bindings' // TODO: figure out location return ret_hu_conv; } + public number clone_ptr() { + number ret = bindings.InvalidShutdownScript_clone_ptr(this.ptr); + return ret; + } + + public InvalidShutdownScript clone() { + number ret = bindings.InvalidShutdownScript_clone(this.ptr); + const ret_hu_conv: InvalidShutdownScript = new InvalidShutdownScript(null, ret); + ret_hu_conv.ptrs_to.add(this); + return ret_hu_conv; + } + }