Skip to content

Commit 1d19725

Browse files
committed
[Cleanup] Remove redundant check in CBudgetProposal::CheckStartEnd
1 parent 351c088 commit 1d19725

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/masternode-budget.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,12 +1362,6 @@ bool CBudgetProposal::CheckStartEnd()
13621362
return false;
13631363
}
13641364

1365-
int nProposalEnd = nBlockStart + (Params().GetConsensus().nBudgetCycleBlocks + 1) * GetTotalPaymentCount();
1366-
if (nBlockEnd != nProposalEnd) {
1367-
strInvalid = "Invalid nBlockEnd (mismatch with payments count)";
1368-
return false;
1369-
}
1370-
13711365
return true;
13721366
}
13731367

0 commit comments

Comments
 (0)