diff --git a/contracts/eden/src/elections.cpp b/contracts/eden/src/elections.cpp index d5084e552..0fac12fd5 100644 --- a/contracts/eden/src/elections.cpp +++ b/contracts/eden/src/elections.cpp @@ -992,7 +992,7 @@ namespace eden election_state_singleton state{contract, default_scope}; auto end_time = std::get(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); } diff --git a/packages/webapp/src/elections/components/registration-election-components/video-upload-cta.tsx b/packages/webapp/src/elections/components/registration-election-components/video-upload-cta.tsx index 9e91e3697..3b8f550aa 100644 --- a/packages/webapp/src/elections/components/registration-election-components/video-upload-cta.tsx +++ b/packages/webapp/src/elections/components/registration-election-components/video-upload-cta.tsx @@ -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;