Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
epanchee committed Nov 6, 2024
1 parent 1f05474 commit fac2989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/emissions_controller/src/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ pub fn update_blacklist(
POOLS_BLACKLIST.save(deps.storage, lp_token, &())?;
}

// And clear whitelist
// And remove pools from the whitelist if they are there
POOLS_WHITELIST.update::<_, StdError>(deps.storage, |mut whitelist| {
whitelist.retain(|pool| !add.contains(pool));
Ok(whitelist)
Expand Down

0 comments on commit fac2989

Please sign in to comment.