FIX: do not check secret when adding new wallet

This commit is contained in:
Ivan Vershigora 2021-09-18 19:54:39 +03:00 committed by Overtorment
parent 5a2de6241f
commit 8fb44adb75

View file

@ -57,7 +57,7 @@ function WalletImport() {
};
WalletImport.isWalletImported = w => {
const wallet = wallets.some(wallet => wallet.getSecret() === w.secret || wallet.getID() === w.getID());
const wallet = wallets.some(wallet => wallet.getID() === w.getID());
return !!wallet;
};