TODO Location
sixty_nuts/wallet.py:2096
Priority
🟢 Low Priority - Performance optimization
Current Code
# Parse wallet metadata
# TODO this should not always fetch the wallet event
if wallet_event:
try:
decrypted = nip44_decrypt(wallet_event["content"], self._privkey)
What needs to be done
- Cache wallet event data to avoid redundant decryption
- Only fetch/decrypt when wallet data changes
- Improve performance for frequent state checks