Skip to content

Commit

Permalink
feat(providers): decrease SolScan and Zerion priority for the balance…
Browse files Browse the repository at this point in the history
… request (#929)
  • Loading branch information
geekbrother authored Feb 4, 2025
1 parent 1584590 commit 078e121
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions src/env/solscan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,5 @@ impl BalanceProviderConfig for SolScanConfig {
}

fn default_supported_namespaces() -> HashMap<CaipNamespaces, Weight> {
HashMap::from([(
CaipNamespaces::Solana,
Weight::new(Priority::Normal).unwrap(),
)])
HashMap::from([(CaipNamespaces::Solana, Weight::new(Priority::Low).unwrap())])
}
5 changes: 1 addition & 4 deletions src/env/zerion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,5 @@ impl BalanceProviderConfig for ZerionConfig {
}

fn default_supported_namespaces() -> HashMap<CaipNamespaces, Weight> {
HashMap::from([(
CaipNamespaces::Eip155,
Weight::new(Priority::Normal).unwrap(),
)])
HashMap::from([(CaipNamespaces::Eip155, Weight::new(Priority::Low).unwrap())])
}

0 comments on commit 078e121

Please sign in to comment.