X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=ts%2Fstructs%2FAPIError.ts;h=7b68692ce96833b1f78615e3194214f69f8d1c79;hb=5159db8afc915c6934556af6e59df21bc31c57b2;hp=234c7b787703991e49f02cdc4ea41494717a7e09;hpb=d92b9f26eda1f6c1fbb970db797a03fac62c5606;p=ldk-java diff --git a/ts/structs/APIError.ts b/ts/structs/APIError.ts index 234c7b78..7b68692c 100644 --- a/ts/structs/APIError.ts +++ b/ts/structs/APIError.ts @@ -123,7 +123,6 @@ export class IncompatibleShutdownScript extends APIError { number ret = bindings.APIError_incompatible_shutdown_script(script == null ? 0 : script.ptr & ~1); APIError ret_hu_conv = APIError.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(ret_hu_conv); - ret_hu_conv.ptrs_to.add(script); return ret_hu_conv; }