Governance Bug Fixed with Reputation Calculation 2
This commit is contained in:
1 parent
863f4b3dcb
commit
2fa5d3cc6d
1 file changed
+1
-3
@@ -150,9 +150,7 @@ function newGovernanceUserProfileSpace() {
|
||||
if (transfer.from !== UI.projects.governance.globals.saToken.SA_TOKEN_BSC_TREASURY_ACCOUNT_ADDRESS) { continue }
|
||||
|
||||
let currentReputation = Number(transfer.value) / UI.projects.governance.globals.saToken.SA_TOKEN_BSC_DECIMAL_FACTOR
|
||||
if (transfer.to.toLowerCase() === '0x9F25cc5f3e70b907269CebbB45D812313b3e9143'.toLowerCase()) {
|
||||
console.log('COZED')
|
||||
}
|
||||
|
||||
let previousReputation = reputationByAddress.get(transfer.to.toLowerCase())
|
||||
if (previousReputation === undefined) {previousReputation = 0}
|
||||
let newReputation = previousReputation + currentReputation
|
||||
|
||||
Reference in new issue
Block a user