hopefully fixed that lol

This commit is contained in:
blackjok3rtt
2018-09-25 17:38:18 +08:00
committed by GitHub
parent 93e35be732
commit 3aee2fae5e

View File

@@ -115,7 +115,7 @@ int STAKED_era(int timestamp)
era = 2;
else if (timestamp <= STAKED_NOTARIES_TIMESTAMP3 && timestamp >= (STAKED_NOTARIES_TIMESTAMP2 + STAKED_ERA_GAP))
era = 3;
else if (timestamp >= (STAKED_NOTARIES_TIMESTAMP3 + STAKED_ERA_GAP))
else if (timestamp <= STAKED_NOTARIES_TIMESTAMP4 && timestamp >= (STAKED_NOTARIES_TIMESTAMP3 + STAKED_ERA_GAP))
era = 4;
else
era = 0;