Skip to content

Commit

Permalink
Bugfix: use timelock from proposal instead of config
Browse files Browse the repository at this point in the history
Co-authored-by: noah <[email protected]>
  • Loading branch information
JakeHartnell and NoahSaso authored Nov 28, 2023
1 parent c8dca00 commit a2ca108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/proposal/dao-proposal-single/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ pub fn execute_execute(
&config.dao,
Some(prop.start_height),
)?;
let vetoer_call = match config.timelock {
let vetoer_call = match prop.timelock {
None => false,
Some(timelock) => timelock.vetoer == info.sender,
};
Expand Down

0 comments on commit a2ca108

Please sign in to comment.