From 7578758e17e2cca5254b859af30874c6bcd125b1 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Fri, 31 Oct 2014 18:56:11 -0300 Subject: [PATCH] . --- js/models/Identity.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/models/Identity.js b/js/models/Identity.js index 5ef822fe5..0a3caba25 100644 --- a/js/models/Identity.js +++ b/js/models/Identity.js @@ -317,7 +317,7 @@ Identity.prototype.importWalletFromObj = function(obj, opts, cb) { this._checkVersion(w.version); this.addWallet(w); self.bindWallet(w); - self.storeWallet(w, function() { + self.storeWallet(w, function(err) { if (err) return cb(err); self.store({ @@ -478,7 +478,7 @@ Identity.prototype.createWallet = function(opts, cb) { this.addWallet(w); self.bindWallet(w); w.netStart(); - self.storeWallet(w, function() { + self.storeWallet(w, function(err) { if (err) return cb(err); self.store({