don't runtime error

This commit is contained in:
Yostra 2020-09-14 20:58:19 -07:00 committed by wjblanke
parent 918af6b9e6
commit 8c26d3db0c
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ class WalletNode:
) -> bool:
private_key = self.get_key_for_fingerprint(fingerprint)
if private_key is None:
raise RuntimeError("Invalid fingerprint {public_key_fingerprint}")
return False
db_path_key_suffix = str(private_key.get_g1().get_fingerprint())
path = path_from_root(