Skip to content

Commit 7a5dd99

Browse files
committed
Whitespace
1 parent f9fb376 commit 7a5dd99

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/wrap_js/example.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ wally.bip32_key_from_seed(Buffer.from('00000000000000000000000000000000', 'hex')
5858
var _pubkey2 = wally.bip32_pubkey_from_parent(s, 2, 0);
5959

6060
return Promise.all([_pubkey1, _pubkey2]);
61-
61+
6262
}).then((xpubkeys) => {
6363
const pubkey1 = xpubkeys[0].slice(45, 78);
6464
const pubkey2 = xpubkeys[1].slice(45, 78);
@@ -81,7 +81,7 @@ wally.bip32_key_from_seed(Buffer.from('00000000000000000000000000000000', 'hex')
8181

8282
// base58 encode with adding checksum
8383
return wally.wally_base58_from_bytes(Buffer.concat([prefix, script_hash]), 1);
84-
84+
8585
}).then((addr) => {
8686
console.log('multisig addr: ', addr);
8787
});
@@ -90,10 +90,10 @@ wally.bip32_key_from_seed(Buffer.from('00000000000000000000000000000000', 'hex')
9090
.then(function(s) {
9191

9292
return wally.bip32_pubkey_from_parent(s, 0, 1);
93-
93+
9494
}).then((xpubkey) => {
9595
const pubkey = xpubkey.slice(45, 78);
96-
96+
9797
return wally.wally_hash160(pubkey);
9898

9999
}).then((script) => {

src/wrap_js/makewrappers/wrap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ def __init__(self, arguments, out_size=None, wally_name=None, nodejs_append_allo
8282

8383
# Script:
8484
('wally_scriptpubkey_multisig_from_bytes', F([
85-
'const_bytes[bytes]', 'uint32_t[threshold]', 'uint32_t[flags]',
86-
'out_bytes_sized'
85+
'const_bytes[bytes]', 'uint32_t[threshold]', 'uint32_t[flags]',
86+
'out_bytes_sized'
8787
], out_size='Math.ceil(_arguments[0].length / 33) * 34 + 3')),
8888

8989
# Scrypt:

src/wrap_js/test/test_script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ test('Script', function(t) {
1212

1313
var pubkey_bytes = Buffer.from(pubkeys[0] + pubkeys[1], 'hex');
1414
var redeem_script = '522102ad4199d0c53b564b39798c4c064a6e6093abbb71d56cc153abf75a02f85c8e992103afeefeba0806711b6d3fc7c8b0b6a3eff5ea2ecf938aea1b6a093898097875f352ae';
15-
15+
1616
wally.wally_scriptpubkey_multisig_from_bytes(
1717
pubkey_bytes,
1818
2,
@@ -21,4 +21,4 @@ test('Script', function(t) {
2121
).then((res) => {
2222
t.equal(Buffer.from(res).toString('hex'), redeem_script);
2323
});
24-
});
24+
});

0 commit comments

Comments
 (0)