After done RPC syncing, enable inv handling

This commit is contained in:
Patrick Nagurny 2015-07-06 15:35:14 -04:00
parent 766a8c01da
commit 5fd23b6901

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();