mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 18:00:17 +01:00
TST: fixed
This commit is contained in:
parent
3ece9bd692
commit
4fc340d008
@ -150,7 +150,7 @@ it('Segwit HD (BIP49) can fetch UTXO', async function() {
|
||||
let hd = new HDSegwitP2SHWallet();
|
||||
hd.usedAddresses = ['1Ez69SnzzmePmZX3WpEzMKTrcBF2gpNQ55', '1BiTCHeYzJNMxBLFCMkwYXNdFEdPJP53ZV']; // hacking internals
|
||||
await hd.fetchUtxo();
|
||||
assert.strictEqual(hd.utxo.length, 11);
|
||||
assert.strictEqual(hd.utxo.length, 12);
|
||||
assert.ok(typeof hd.utxo[0].confirmations === 'number');
|
||||
assert.ok(hd.utxo[0].txid);
|
||||
assert.ok(hd.utxo[0].vout);
|
||||
@ -307,7 +307,7 @@ it('Legacy HD (BIP44) can fetch UTXO', async function() {
|
||||
let hd = new HDLegacyP2PKHWallet();
|
||||
hd.usedAddresses = ['1Ez69SnzzmePmZX3WpEzMKTrcBF2gpNQ55', '1BiTCHeYzJNMxBLFCMkwYXNdFEdPJP53ZV']; // hacking internals
|
||||
await hd.fetchUtxo();
|
||||
assert.strictEqual(hd.utxo.length, 11);
|
||||
assert.strictEqual(hd.utxo.length, 12);
|
||||
assert.ok(typeof hd.utxo[0].confirmations === 'number');
|
||||
assert.ok(hd.utxo[0].txid);
|
||||
assert.ok(hd.utxo[0].vout);
|
||||
|
Loading…
Reference in New Issue
Block a user