Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jcompagni10 committed Jan 9, 2025
1 parent 85402cd commit c4160b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions contracts/dao/neutron-chain-manager/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,7 @@ fn check_dex_update_msg_params(
return Err(ContractError::Unauthorized {});
}

if dex_params.params.whitelisted_lps
!= msg_update_params.params.whitelisted_lps
if dex_params.params.whitelisted_lps != msg_update_params.params.whitelisted_lps
&& !dex_update_param_permission.whitelisted_lps
{
return Err(ContractError::Unauthorized {});
Expand Down
2 changes: 1 addition & 1 deletion contracts/dao/neutron-chain-manager/src/testing/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ pub fn test_execute_execute_message_update_params_dex_unauthorized_fee_tiers() {
paused: true,
max_jits_per_block: true,
good_til_purge_allowance: true,
whitelisted_lps: true
whitelisted_lps: true,
})]),
)
.unwrap();
Expand Down

0 comments on commit c4160b2

Please sign in to comment.