X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FSignOrCreationError.ts;h=d2e1e36bced8ede6a6209780715b7b0b070f09ed;hb=f3e670e9341decac613d33fc52febf19cea32f20;hp=c6e5c76a78d80910349ed69bd36f6d49639f42df;hpb=db1a11032b4164540a2d3403696be12bbca70e94;p=ldk-java diff --git a/ts/structs/SignOrCreationError.ts b/ts/structs/SignOrCreationError.ts index c6e5c76a..d2e1e36b 100644 --- a/ts/structs/SignOrCreationError.ts +++ b/ts/structs/SignOrCreationError.ts @@ -32,6 +32,11 @@ export class CreationError extends SignOrCreationError { this.creation_error = obj.creation_error; } } + public number clone_ptr() { + number ret = bindings.SignOrCreationError_clone_ptr(this.ptr); + return ret; + } + public SignOrCreationError clone() { number ret = bindings.SignOrCreationError_clone(this.ptr); SignOrCreationError ret_hu_conv = SignOrCreationError.constr_from_ptr(ret); @@ -55,7 +60,6 @@ export class CreationError extends SignOrCreationError { public boolean eq(SignOrCreationError b) { boolean ret = bindings.SignOrCreationError_eq(this.ptr, b == null ? 0 : b.ptr & ~1); - this.ptrs_to.add(b); return ret; }