This commit is contained in:
blackjok3r
2018-09-24 23:25:33 +08:00
parent 475e8bc5cb
commit 14c46b11bf

View File

@@ -108,7 +108,7 @@ int is_STAKED(const char *chain_name) {
int STAKED_era(int timestamp)
{
int era;
if (timestamp <= STAKED_NOTARIES_TIMESTAMP1
if (timestamp <= STAKED_NOTARIES_TIMESTAMP1)
era = 1;
else if (timestamp <= STAKED_NOTARIES_TIMESTAMP2 && timestamp >= (STAKED_NOTARIES_TIMESTAMP1 + STAKED_ERA_GAP))
era = 2;