From bbb17900b60da861ec427d2a6b10126a3b39e4f7 Mon Sep 17 00:00:00 2001 From: Matt Date: Fri, 17 Oct 2025 11:14:05 -0700 Subject: [PATCH] Remove unnecessary private key access from `get_public_keys` --- chia/wallet/wallet_rpc_api.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/chia/wallet/wallet_rpc_api.py b/chia/wallet/wallet_rpc_api.py index 3c951f6c6292..b6614da419df 100644 --- a/chia/wallet/wallet_rpc_api.py +++ b/chia/wallet/wallet_rpc_api.py @@ -762,10 +762,7 @@ async def get_logged_in_fingerprint(self, request: Empty) -> GetLoggedInFingerpr @marshal async def get_public_keys(self, request: Empty) -> GetPublicKeysResponse: try: - fingerprints = [ - uint32(sk.get_g1().get_fingerprint()) - for (sk, seed) in await self.service.keychain_proxy.get_all_private_keys() - ] + fingerprints = [key_data.fingerprint for key_data in await self.service.keychain_proxy.get_keys()] except KeychainIsLocked: return GetPublicKeysResponse(keyring_is_locked=True) except Exception as e: