Skip to content

Commit

Permalink
small change
Browse files Browse the repository at this point in the history
  • Loading branch information
dorin-iancu committed Feb 3, 2025
1 parent ce726d9 commit bdf8613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dex/price-discovery/src/user_actions/admin_actions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub trait AdminActionsModule:
let whitelist_mapper = self.user_whitelist();
for pair in whitelist {
let (user, limit) = pair.into_tuple();
let user_id = id_mapper.get_id_or_insert(&user);
let user_id = id_mapper.insert_new(&user);
whitelist_mapper.add(&user_id);

if limit > 0 {
Expand Down

0 comments on commit bdf8613

Please sign in to comment.