#397: Replace singletons with @functools.lru_cache() decorator
Compare changes
Files
7+ 7
− 18
@@ -79,7 +79,7 @@ def show_amount_from_pubkey(label, inputs_balance):
@@ -184,23 +184,12 @@ def get_sources(pubkey):
BlockchainParams()
singleton with @functools.lru_cache()
HeadBlock()
singleton with @functools.lru_cache()
UDValue()
singleton with @functools.lru_cache()
CurrencySymbol()
singleton with @functools.lru_cache()
ClientInstance()
singleton with @functools.lru_cache()
Close #397 (closed).