Re-fix whitespace errors
authorMatt Corallo <git@bluematt.me>
Wed, 27 Jan 2021 23:08:23 +0000 (18:08 -0500)
committerMatt Corallo <git@bluematt.me>
Wed, 27 Jan 2021 23:08:23 +0000 (18:08 -0500)
lab/minimal.h [deleted file]
typescript_strings.py

diff --git a/lab/minimal.h b/lab/minimal.h
deleted file mode 100644 (file)
index 3761000..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-typedef struct LDKPublicKey {
-   uint8_t compressed_form[33];
-} LDKPublicKey;
-
-typedef struct LDKMessageSendEvent_LDKSendAcceptChannel_Body {
-   struct LDKPublicKey node_id;
-} LDKMessageSendEvent_LDKSendAcceptChannel_Body;
-
-typedef struct LDKChannelKeys {
-   void *this_arg;
-   /**
-    * Gets the per-commitment point for a specific commitment number
-    *
-    * Note that the commitment number starts at (1 << 48) - 1 and counts backwards.
-    */
-   struct LDKPublicKey (*get_per_commitment_point)(const void *this_arg, uint64_t idx);
-   void (*free)(void *this_arg);
-} LDKChannelKeys;
-
-void ChannelDetails_set_remote_network_id(struct LDKPublicKey remote_public_key);
index de8ce66a455235a298805603b20fdfae32b9e084..5e008a736ce5da66d1119602c8bc6264840db1d4 100644 (file)
@@ -286,11 +286,9 @@ import * as bindings from '../bindings' // TODO: figure out location
         else:
             return None
 
-
     def wasm_import_header(self, target):
         if target == Target.NODEJS:
             return """
-            
 import * as fs from 'fs';
 const source = fs.readFileSync('./ldk.wasm');
 
@@ -398,9 +396,7 @@ const decodeString = (stringPointer, free = true) => {
 
     return result;
 };
-
-
-            """
+"""
         return ''
 
     def init_str(self):