Skip to content

Commit

Permalink
Update contracts/dao-dao-core/src/contract.rs
Browse files Browse the repository at this point in the history
Co-authored-by: noah <[email protected]>
  • Loading branch information
ismellike and NoahSaso authored Mar 22, 2024
1 parent 7434820 commit 1c034cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/dao-dao-core/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ pub fn execute(
if !expiration.is_expired(&env.block) {
// If paused, then only allow messages from the Admin or DAO itself
if info.sender != env.contract.address
&& Some(info.sender.clone()) != ADMIN.may_load(deps.storage)?
&& info.sender.clone() != ADMIN.load(deps.storage)?
{
return Err(ContractError::Paused {});
}
Expand Down

0 comments on commit 1c034cc

Please sign in to comment.