mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Return undefined when vault is uninitialized
This commit is contained in:
parent
05ce7086f7
commit
a3a64afdd5
@ -121,7 +121,7 @@ ConfigManager.prototype.setVault = function (encryptedString) {
|
||||
|
||||
ConfigManager.prototype.getVault = function () {
|
||||
var data = this.getData()
|
||||
return ('vault' in data) && data.vault
|
||||
return data.vault
|
||||
}
|
||||
|
||||
ConfigManager.prototype.getKeychains = function () {
|
||||
|
Loading…
Reference in New Issue
Block a user