This commit is contained in:
Matias Alejo Garcia 2014-10-31 18:56:11 -03:00
commit 7578758e17

View file

@ -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({