Skip to content

Commit

Permalink
Merge remote-tracking branch 'benma/deterministic'
Browse files Browse the repository at this point in the history
  • Loading branch information
benma committed Jun 23, 2024
2 parents 523f0de + 4c976e2 commit 23eca2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rust/erc20_params/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#![allow(clippy::format_collect)]

use std::collections::HashMap;
use std::collections::BTreeMap;
use std::fs::{File, OpenOptions};
use std::io::{self, BufRead, Write};
use std::path::Path;
Expand Down Expand Up @@ -53,7 +53,7 @@ fn main() {
}

// Group tokens by decimals
let mut grouped_tokens: HashMap<(u8, u8), Vec<&Token>> = HashMap::new();
let mut grouped_tokens: BTreeMap<(u8, u8), Vec<&Token>> = BTreeMap::new();
for token in &tokens {
grouped_tokens
.entry((token.decimals, token.unit.len().try_into().unwrap()))
Expand Down

0 comments on commit 23eca2c

Please sign in to comment.