mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
fixed log message and added checkpoint
This commit is contained in:
parent
e6ec9665d5
commit
ba12e5905e
@ -56,6 +56,7 @@ namespace Checkpoints
|
||||
( 137993, uint256("0x00000000000cf69ce152b1bffdeddc59188d7a80879210d6e5c9503011929c3c"))
|
||||
( 167996, uint256("0x000000000009486020a80f7f2cc065342b0c2fb59af5e090cd813dba68ab0fed"))
|
||||
( 207992, uint256("0x00000000000d85c22be098f74576ef00b7aa00c05777e966aff68a270f1e01a5"))
|
||||
( 217752, uint256("0x00000000000a7baeb2148272a7e14edf5af99a64af456c0afc23d15a0918b704"))
|
||||
;
|
||||
static const CCheckpointData data = {
|
||||
&mapCheckpoints,
|
||||
|
@ -2867,7 +2867,8 @@ bool CheckBlock(const CBlock& block, CValidationState& state, bool fCheckPOW, bo
|
||||
if(fDebug) LogPrintf("CheckBlock() : Masternode payment enforcement is off\n");
|
||||
}
|
||||
|
||||
if(MasternodePayments && !fLargeWorkForkFound && !fLargeWorkInvalidChainFound)
|
||||
if(!fLargeWorkForkFound && !fLargeWorkInvalidChainFound){
|
||||
if(MasternodePayments)
|
||||
{
|
||||
LOCK2(cs_main, mempool.cs);
|
||||
|
||||
@ -2920,6 +2921,9 @@ bool CheckBlock(const CBlock& block, CValidationState& state, bool fCheckPOW, bo
|
||||
} else {
|
||||
LogPrintf("CheckBlock() : pindex is null, skipping masternode payment check\n");
|
||||
}
|
||||
} else {
|
||||
LogPrintf("CheckBlock() : skipping masternode payment checks\n");
|
||||
}
|
||||
} else {
|
||||
LogPrintf("CheckBlock() : fork detected, skipping masternode payment checks\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user