@@ -198,6 +201,7 @@
phrase: null,
phraseError: null,
passphrase: null,
+ confirmPassphrase: null,
path: "m/44'/60'/0'/0/0", // null,
locale: null,
},
@@ -296,7 +300,7 @@
generateDerivedAddresses() {
console.log(moment().format("HH:mm:ss") + " generateDerivedAddresses - this.wallet: " + JSON.stringify(this.wallet, null, 2));
const results = [];
- if (this.wallet.tab == 0 && this.wallet.mnemonic.phrase) {
+ if (this.wallet.tab == 0 && this.wallet.mnemonic.phrase && (this.wallet.mnemonic.passphrase == this.wallet.mnemonic.confirmPassphrase)) {
try {
const node = ethers.utils.HDNode.fromMnemonic(this.wallet.mnemonic.phrase, this.wallet.mnemonic.passphrase);
for (let i = 0; i < this.wallet.pageSize; i++) {