Skip to content

Commit

Permalink
Merge pull request #574 from eoscommunity/main
Browse files Browse the repository at this point in the history
EdenOS Release 0.2.21
  • Loading branch information
brandonfancher authored Oct 13, 2021
2 parents 82e0177 + b56e246 commit b4cf9d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/eden/src/elections.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ namespace eden
election_state_singleton state{contract, default_scope};
auto end_time =
std::get<election_state_v0>(state.get()).last_election_time.to_time_point() +
eosio::hours(48);
eosio::days(14);
return valid_state && eosio::current_time_point() <= end_time &&
boost::logic::tribool(boost::logic::indeterminate);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const ElectionVideoUploadCTA = () => {

const deadline = dayjs(electionState?.last_election_time + "Z").add(
2,
"days"
"weeks"
);

if (dayjs().isAfter(deadline)) return null;
Expand Down

0 comments on commit b4cf9d9

Please sign in to comment.