1
0

json_db: rename "_write" to sth more descriptive

This commit is contained in:
SomberNight
2023-11-27 15:30:26 +00:00
parent ae9767880e
commit 6467db0b7d
3 changed files with 9 additions and 8 deletions

View File

@@ -1071,6 +1071,7 @@ def hardware_keystore(d) -> Hardware_KeyStore:
def load_keystore(db: 'WalletDB', name: str) -> KeyStore:
# deepcopy object to avoid keeping a pointer to db.data
# note: this is needed as type(wallet.db.get("keystore")) != StoredDict
d = copy.deepcopy(db.get(name, {}))
t = d.get('type')
if not t: