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