Skip to content

Commit

Permalink
feat(smart-contracts): make adding routes permissionless
Browse files Browse the repository at this point in the history
  • Loading branch information
nseguias committed Apr 19, 2024
1 parent 5b8f22a commit 3faf786
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions contracts/liquidity_hub/pool-manager/src/router/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,6 @@ pub fn add_swap_routes(
sender: Addr,
swap_routes: Vec<SwapRoute>,
) -> Result<Response, ContractError> {
assert_admin(deps.as_ref(), &env, &sender)?;

let mut attributes = vec![];

for swap_route in swap_routes {
Expand Down

0 comments on commit 3faf786

Please sign in to comment.