Add feedback while importing wallet
This commit is contained in:
parent
a5e7b54d19
commit
96cbf8ad7b
5 changed files with 18 additions and 3 deletions
|
|
@ -755,6 +755,7 @@ Wallet.prototype.updateIndexes = function(callback) {
|
|||
if (changeIndex != -1)
|
||||
self.publicKeyRing.indexes.changeIndex = changeIndex + 1;
|
||||
|
||||
self.emit('updatingIndexes');
|
||||
start = self.publicKeyRing.indexes.receiveIndex;
|
||||
self.indexDiscovery(start, false, 20, function(err, receiveIndex) {
|
||||
if (err) return callback(err);
|
||||
|
|
|
|||
|
|
@ -84,6 +84,7 @@ WalletFactory.prototype.import = function(base64, password, cb) {
|
|||
self.log('Indexes updated');
|
||||
cb(null, w);
|
||||
});
|
||||
return w;
|
||||
}
|
||||
|
||||
WalletFactory.prototype.read = function(walletId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue