mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-26 06:08:40 +01:00
feat: restrict history api calls when toggle is off in privacy settings (#3615)
* feat: restrict history api calls when toggle is off in privacy settings * refactor: remove unnecessary transaction timer cancellation
This commit is contained in:
@@ -275,8 +275,8 @@ static String getScanProviderPreferenceKey(int chainId) {
|
||||
return switch (chainId) {
|
||||
1 => 'use_etherscan',
|
||||
137 => 'use_polygonscan',
|
||||
8453 => 'use_basescan',
|
||||
42161 => 'use_arbiscan',
|
||||
8453 => 'use_base_scan',
|
||||
42161 => 'use_arbitrum_scan',
|
||||
10 => 'use_optimismscan', // NEW
|
||||
_ => 'use_etherscan', // Default
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user