Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1bf806598f |
@@ -419,10 +419,10 @@ function addressHoldsFunds(addr) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// What a wallet was imported from, which is also its only backup: the
|
||||
// recovery phrase, the private key or the extended private key. The screens
|
||||
// that tell the user what to keep or import again name it through here, so
|
||||
// a key or xprv wallet is never sent looking for a recovery phrase.
|
||||
// The name of a wallet's key material, which is also its only backup: the
|
||||
// recovery phrase of an HD wallet, the private key of a key wallet, the
|
||||
// extended private key of an xprv wallet. DeleteWallet,
|
||||
// DeleteWalletLostPassword and DeleteAddress name the backup with it.
|
||||
function keyMaterialName(wallet) {
|
||||
if (walletHasRecoveryPhrase(wallet)) return "recovery phrase";
|
||||
if (wallet.type === "key") return "private key";
|
||||
|
||||
Reference in New Issue
Block a user