.
This commit is contained in:
parent
a2465eca74
commit
7578758e17
1 changed files with 2 additions and 2 deletions
|
|
@ -317,7 +317,7 @@ Identity.prototype.importWalletFromObj = function(obj, opts, cb) {
|
||||||
this._checkVersion(w.version);
|
this._checkVersion(w.version);
|
||||||
this.addWallet(w);
|
this.addWallet(w);
|
||||||
self.bindWallet(w);
|
self.bindWallet(w);
|
||||||
self.storeWallet(w, function() {
|
self.storeWallet(w, function(err) {
|
||||||
if (err) return cb(err);
|
if (err) return cb(err);
|
||||||
|
|
||||||
self.store({
|
self.store({
|
||||||
|
|
@ -478,7 +478,7 @@ Identity.prototype.createWallet = function(opts, cb) {
|
||||||
this.addWallet(w);
|
this.addWallet(w);
|
||||||
self.bindWallet(w);
|
self.bindWallet(w);
|
||||||
w.netStart();
|
w.netStart();
|
||||||
self.storeWallet(w, function() {
|
self.storeWallet(w, function(err) {
|
||||||
if (err) return cb(err);
|
if (err) return cb(err);
|
||||||
|
|
||||||
self.store({
|
self.store({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue