mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-21 00:24:37 +03:00
util: Drop outdated comments (#14787)
This commit is contained in:
parent
f09d051552
commit
aeddd8e92e
@ -385,9 +385,8 @@ class FileKeyring(FileSystemEventHandler): # type: ignore[misc] # Class cannot
|
||||
|
||||
# When writing for the first time, we should have a cached passphrase which hasn't been
|
||||
# validated (because it can't be validated yet...)
|
||||
# TODO Fix hinting in `KeyringWrapper` to get rid of the ignores below
|
||||
if not self.has_content() and KeyringWrapper.get_shared_instance().has_cached_master_passphrase(): # noqa: E501
|
||||
passphrase = KeyringWrapper.get_shared_instance().get_cached_master_passphrase()[0] # noqa: E501
|
||||
if not self.has_content() and KeyringWrapper.get_shared_instance().has_cached_master_passphrase():
|
||||
passphrase = KeyringWrapper.get_shared_instance().get_cached_master_passphrase()[0]
|
||||
else:
|
||||
# TODO, this prompts for the passphrase interactively, move this out
|
||||
passphrase = obtain_current_passphrase(use_passphrase_cache=True)
|
||||
|
Loading…
Reference in New Issue
Block a user