diff --git a/programs/autocrat/src/instructions/finalize_proposal.rs b/programs/autocrat/src/instructions/finalize_proposal.rs index fe58a8914..b43701294 100644 --- a/programs/autocrat/src/instructions/finalize_proposal.rs +++ b/programs/autocrat/src/instructions/finalize_proposal.rs @@ -55,7 +55,7 @@ impl FinalizeProposal<'_> { let clock = Clock::get()?; require!( - clock.slot >= self.proposal.slot_enqueued + self.dao.slots_per_proposal, + clock.slot >= self.proposal.slot_enqueued + self.proposal.duration_in_slots, AutocratError::ProposalTooYoung );