Skip to content

Commit

Permalink
Better support for non-specific masternode payments
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Duffield committed Dec 16, 2014
1 parent ee8174a commit adcf660
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2818,6 +2818,8 @@ bool CBlock::CheckBlock(CValidationState &state, bool fCheckPOW, bool fCheckMerk
CScript payee;
if(!masternodePayments.GetBlockPayee(pindexBest->nHeight+1, payee) || payee == CScript()){
foundPayee = true; //doesn't require a specific payee
foundPaymentAmount = true;
foundPaymentAndPayee = true;
}

for (unsigned int i = 0; i < vtx[0].vout.size(); i++) {
Expand Down

0 comments on commit adcf660

Please sign in to comment.