Merge pull request #80 from pnagurny/bug/rpc-network-inv

After done RPC syncing, enable inv handling
This commit is contained in:
Braydon Fuller 2015-07-06 15:58:22 -04:00
commit c45bd0c4ee

View File

@ -249,6 +249,7 @@ BitcoreNode.prototype._rpcFetch = function() {
if(self.reportedMaxHeight === self.getCurrentHeight()) {
// We are synced
self.syncStrategy = 'p2p';
self.networkMonitor.ignoreInv = false;
return;
}
self._rpcFetch();