rm run locked

This commit is contained in:
Matias Alejo Garcia 2015-04-03 18:49:08 -03:00
parent ac24f66801
commit 9360144950
1 changed files with 7 additions and 9 deletions

View File

@ -1223,7 +1223,6 @@ WalletService.prototype.startScan = function(opts, cb) {
self._notify('ScanFinished', data, true); self._notify('ScanFinished', data, true);
}; };
Utils.runLocked(self.walletId, cb, function(cb) {
self.getWallet({}, function(err, wallet) { self.getWallet({}, function(err, wallet) {
if (err) return cb(err); if (err) return cb(err);
if (!wallet.isComplete()) return cb(new ClientError('Wallet is not complete')); if (!wallet.isComplete()) return cb(new ClientError('Wallet is not complete'));
@ -1234,7 +1233,6 @@ WalletService.prototype.startScan = function(opts, cb) {
return cb(); return cb();
}); });
});
}; };