Skip to content

Commit

Permalink
fix: set the weight for EvoNodes to 4x for masternode APY
Browse files Browse the repository at this point in the history
  • Loading branch information
HashEngineering committed Dec 17, 2023
1 parent ec08533 commit 9716a26
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,11 @@ class BlockchainStateDataProvider @Inject constructor(
}

val validMNsCount = if (mnlist.size() != 0) {
mnlist.validMNsCount
var virtualMNCount = 0
mnlist.forEachMN(true) { entry ->
virtualMNCount += if (entry.isHPMN) 4 else 1
}
virtualMNCount
} else {
MASTERNODE_COUNT
}
Expand Down

0 comments on commit 9716a26

Please sign in to comment.