clean up some notary pay stuff. Put current LABS notaries in ERA1 ready for reset.

This commit is contained in:
blackjok3r
2019-04-17 16:16:10 +08:00
parent cf02649727
commit 2692d48f0c
4 changed files with 21 additions and 23 deletions

View File

@@ -3308,7 +3308,7 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin
REJECT_INVALID, "bad-cb-amount");
// calculate the notaries compensation and validate the amounts and pubkeys are correct.
uint64_t notarypaycheque = komodo_checknotarypay((CBlock *)&block,(int32_t)pindex->GetHeight());
fprintf(stderr, "notarypaycheque.%lu\n", notarypaycheque);
//fprintf(stderr, "notarypaycheque.%lu\n", notarypaycheque);
if ( notarypaycheque > 0 )
blockReward += notarypaycheque;
else