]> git.bitcoin.ninja Git - ldk-java/commitdiff
[TS] Remove unused variable in generator
authorMatt Corallo <git@bluematt.me>
Wed, 18 Jan 2023 18:43:44 +0000 (18:43 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 18 Jan 2023 18:43:44 +0000 (18:43 +0000)
typescript_strings.py

index 77ae1d0a035b580fb59854b361b1fd318b2347e4..402e63996807408b1dde313f5854c65b730d9233 100644 (file)
@@ -1317,7 +1317,6 @@ export class {struct_name.replace("LDK","")} extends CommonBase {{
         return (out_java, out_java_enum, out_c)
 
     def map_opaque_struct(self, struct_name, struct_doc_comment):
-        implementations = ""
         method_header = ""
 
         hu_name = struct_name.replace("LDKC2Tuple", "TwoTuple").replace("LDKC3Tuple", "ThreeTuple").replace("LDK", "")
@@ -1339,7 +1338,7 @@ export class {struct_name.replace("LDK","")} extends CommonBase {{
 /**{extra_docs}
  * {formatted_doc_comment}
  */
-export class {hu_name} extends CommonBase {implementations}{{
+export class {hu_name} extends CommonBase {{
        /* @internal */
        public constructor(_dummy: null, ptr: bigint) {{
                {constructor_body}