From: Matt Corallo Date: Wed, 27 Jan 2021 23:08:23 +0000 (-0500) Subject: Re-fix whitespace errors X-Git-Tag: v0.0.1~34 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=de03148c22457c5cfd95a64c6ca24ef4aab763d6;p=ldk-java Re-fix whitespace errors --- diff --git a/lab/minimal.h b/lab/minimal.h deleted file mode 100644 index 37610007..00000000 --- a/lab/minimal.h +++ /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); diff --git a/typescript_strings.py b/typescript_strings.py index de8ce66a..5e008a73 100644 --- a/typescript_strings.py +++ b/typescript_strings.py @@ -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):