1
0
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:
Dan Finlay 2016-12-21 17:20:14 -08:00
parent 05ce7086f7
commit a3a64afdd5

View File

@ -121,7 +121,7 @@ ConfigManager.prototype.setVault = function (encryptedString) {
ConfigManager.prototype.getVault = function () { ConfigManager.prototype.getVault = function () {
var data = this.getData() var data = this.getData()
return ('vault' in data) && data.vault return data.vault
} }
ConfigManager.prototype.getKeychains = function () { ConfigManager.prototype.getKeychains = function () {