PPCoin: Asking for blocks when checkpoint block is not yet accepted
[novacoin.git] / src / main.cpp
index 0dca0ae..e1bdac6 100644 (file)
@@ -2588,7 +2588,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
         Checkpoints::CSyncCheckpoint checkpoint;
         vRecv >> checkpoint;
 
-        if (checkpoint.ProcessSyncCheckpoint())
+        if (checkpoint.ProcessSyncCheckpoint(pfrom))
         {
             // Relay
             pfrom->hashCheckpointKnown = checkpoint.hashCheckpoint;