mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 23:08:07 +01:00
TST: minor fix
This commit is contained in:
parent
4b55d7b9f2
commit
707004a102
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,10 @@ import { HDLegacyBreadwalletWallet } from '../../class';
|
|||
const assert = require('assert');
|
||||
|
||||
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();
|
||||
hdBread.setSecret(process.env.HD_MNEMONIC_BREAD);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue