From 278243f01cfe6d17f46ccf6d8c0ba20b84d1c556 Mon Sep 17 00:00:00 2001 From: kennycud Date: Tue, 31 Dec 2024 13:54:20 -0800 Subject: [PATCH] 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 --- src/main/java/org/qortal/account/Account.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/main/java/org/qortal/account/Account.java b/src/main/java/org/qortal/account/Account.java index daf8ad18..99fa5217 100644 --- a/src/main/java/org/qortal/account/Account.java +++ b/src/main/java/org/qortal/account/Account.java @@ -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(); }