Skip to content

Commit 99be7ea

Browse files
committed
Merge remote-tracking branch 'origin/develop' into pileks/met-75-fixes
2 parents b8068e6 + 8058fbd commit 99be7ea

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

programs/futarchy/src/instructions/admin_approve_execute_multisig_proposal.rs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
use super::*;
22

3-
pub mod metadao_multisig_vault {
3+
pub mod admin {
44
use anchor_lang::prelude::declare_id;
55

6-
// MetaDAO-controlled admin - cannot be a Squads signer because of reentrancy blocks set up by Squads
7-
declare_id!("tSTp6B6kE9o6ZaTmHm2ZwnJBBtgd3x112tapxFhmBEQ");
6+
// MetaDAO-controlled admin - cannot be a Squads signer because of reentrancy
7+
declare_id!("CWGawadYU8CzRVBecnJymNw97H7E3ndDinV5sMzesgY2");
88
}
99

1010
#[derive(Accounts)]
@@ -54,11 +54,7 @@ pub struct AdminApproveExecuteMultisigProposal<'info> {
5454
impl<'info, 'c: 'info> AdminApproveExecuteMultisigProposal<'info> {
5555
pub fn validate(&self) -> Result<()> {
5656
#[cfg(feature = "production")]
57-
require_keys_eq!(
58-
self.admin.key(),
59-
metadao_multisig_vault::ID,
60-
FutarchyError::InvalidAdmin
61-
);
57+
require_keys_eq!(self.admin.key(), admin::ID, FutarchyError::InvalidAdmin);
6258

6359
if !matches!(self.dao.amm.state, PoolState::Spot { .. }) {
6460
return Err(FutarchyError::PoolNotInSpotState.into());

programs/futarchy/src/instructions/admin_remove_proposal.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use super::*;
22

33
pub mod admin {
44
use anchor_lang::prelude::declare_id;
5-
declare_id!("tSTp6B6kE9o6ZaTmHm2ZwnJBBtgd3x112tapxFhmBEQ");
5+
declare_id!("CWGawadYU8CzRVBecnJymNw97H7E3ndDinV5sMzesgY2");
66
}
77

88
#[derive(Accounts)]

verifiable-builds/futarchy.so

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)