Skip to content

Commit e8c5745

Browse files
committed
Remove wrong script case
1 parent eabb934 commit e8c5745

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

src/wrap_js/test/test_bip32.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const EC_PUBLIC_KEY_LEN = 33;
44
var seed = Buffer.from('00000000000000000000000000000000', 'hex');
55

66
test('BIP32 from seed + derivation', function(t) {
7-
t.plan(7);
7+
t.plan(6);
88
wally.bip32_key_from_seed(Buffer.from(seed), 0x0488ADE4, 0).then(function(s) {
99
wally.wally_base58_from_bytes(s, 1).then(function (s) {
1010
t.equal(
@@ -61,17 +61,6 @@ test('BIP32 from seed + derivation', function(t) {
6161
'xpub M/0/0/1'
6262
);
6363
});
64-
65-
var version = Buffer.from('0014', 'hex');
66-
wally.wally_hash160(xpub_0_0_1.slice(45, 78)).then((hash160) => {
67-
return wally.wally_addr_segwit_from_bytes(Buffer.concat([version, Buffer.from(hash160)]),'tb',0);
68-
}).then((addr) => {
69-
t.equal(
70-
addr,
71-
'tb1q6pqwl5tyaluz8qtqky7x2cmxzqdr6gsyld4hrn',
72-
'bech32: addr'
73-
);
74-
});
7564
});
7665
});
7766
});

0 commit comments

Comments
 (0)