mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 06:52:41 +01:00
FIX: do not check secret when adding new wallet
This commit is contained in:
parent
5a2de6241f
commit
8fb44adb75
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue