fix typo for sync strategy
This commit is contained in:
parent
b8f95b7a0e
commit
21cdca537a
@ -260,9 +260,8 @@ function spec() {
|
||||
HistoricSync.prototype.prepareFileSync = function(opts, next) {
|
||||
var self = this;
|
||||
|
||||
if (
|
||||
opts.forceRPC || !config.bitcoind.dataDir ||
|
||||
self.connectedCountDB > self.blockChainHeight > 0.9) return next();
|
||||
if ( opts.forceRPC || !config.bitcoind.dataDir ||
|
||||
self.connectedCountDB > self.blockChainHeight * 0.9) return next();
|
||||
|
||||
|
||||
self.blockExtractor = new BlockExtractor(config.bitcoind.dataDir, config.network);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user