3
0
mirror of https://github.com/Qortal/qortal.git synced 2025-02-11 09:45:50 +00:00

rollback the negation of founder effective minting level, because I made it under the assumption that it was used for reward distributions when it is used for block signatures only

This commit is contained in:
kennycud 2024-12-31 13:54:20 -08:00
parent 756f3a243d
commit 278243f01c

View File

@ -342,13 +342,8 @@ public class Account {
return 0;
// Founders are assigned a different effective minting level, as long as they have no penalty
if (Account.isFounder(accountData.getFlags()) && accountData.getBlocksMintedPenalty() == 0) {
// but only if it is before the admins replace founders hardfork
if( this.repository.getBlockRepository().getBlockchainHeight() < BlockChain.getInstance().getAdminsReplaceFoundersHeight() ) {
return BlockChain.getInstance().getFounderEffectiveMintingLevel();
}
}
if (Account.isFounder(accountData.getFlags()) && accountData.getBlocksMintedPenalty() == 0)
return BlockChain.getInstance().getFounderEffectiveMintingLevel();
return accountData.getLevel();
}