SomberNight
3 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
2 additions and
1 deletions
-
electrum/address_synchronizer.py
|
@ -855,7 +855,8 @@ class AddressSynchronizer(Logger): |
|
|
excluded_coins = set() |
|
|
excluded_coins = set() |
|
|
assert isinstance(excluded_coins, set), f"excluded_coins should be set, not {type(excluded_coins)}" |
|
|
assert isinstance(excluded_coins, set), f"excluded_coins should be set, not {type(excluded_coins)}" |
|
|
|
|
|
|
|
|
cache_key = sha256(''.join(sorted(domain)) + ''.join(excluded_coins)) |
|
|
cache_key = sha256(','.join(sorted(domain)) + ';' |
|
|
|
|
|
+ ','.join(sorted(excluded_coins))) |
|
|
cached_value = self._get_balance_cache.get(cache_key) |
|
|
cached_value = self._get_balance_cache.get(cache_key) |
|
|
if cached_value: |
|
|
if cached_value: |
|
|
return cached_value |
|
|
return cached_value |
|
|