mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 18:00:17 +01:00
TST: minor fix
This commit is contained in:
parent
4b55d7b9f2
commit
707004a102
@ -3,6 +3,10 @@ import { HDLegacyBreadwalletWallet } from '../../class';
|
|||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
|
|
||||||
it('Legacy HD Breadwallet works', async () => {
|
it('Legacy HD Breadwallet works', async () => {
|
||||||
|
if (!process.env.HD_MNEMONIC_BREAD) {
|
||||||
|
console.error('process.env.HD_MNEMONIC_BREAD not set, skipped');
|
||||||
|
return;
|
||||||
|
}
|
||||||
let hdBread = new HDLegacyBreadwalletWallet();
|
let hdBread = new HDLegacyBreadwalletWallet();
|
||||||
hdBread.setSecret(process.env.HD_MNEMONIC_BREAD);
|
hdBread.setSecret(process.env.HD_MNEMONIC_BREAD);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user