Skip to content

Fix throw when toggling Tor with unopened cryptonote family wallets#1275

Open
sneurlax wants to merge 4 commits into
stagingfrom
fix/toggle-tor-w-null-wallet
Open

Fix throw when toggling Tor with unopened cryptonote family wallets#1275
sneurlax wants to merge 4 commits into
stagingfrom
fix/toggle-tor-w-null-wallet

Conversation

@sneurlax
Copy link
Copy Markdown
Member

@sneurlax sneurlax commented Mar 5, 2026

When you toggle Tor with an uninitialized cryptonote wallet, it throws. This isn't fatal. The fix uses the same guard pattern other functions use.

This fix is admittedly optional: it's not a critical fix but rather a cosmetic/log-cleaning fix.

@sneurlax sneurlax marked this pull request as ready for review March 5, 2026 04:13
@sneurlax sneurlax changed the title fix: guard against null wallet in updateNode() for Monero-family wallets Fix throw when toggling Tor with unopened cryptonote family wallets Mar 5, 2026
@sneurlax sneurlax marked this pull request as draft May 13, 2026 21:25
@codecov
Copy link
Copy Markdown

codecov Bot commented May 13, 2026

Codecov Report

❌ Patch coverage is 0% with 134 lines in your changes missing coverage. Please review.
✅ Project coverage is 4.82%. Comparing base (db0c225) to head (61e6a24).
⚠️ Report is 1 commits behind head on staging.

Files with missing lines Patch % Lines
...wallets/wallet/intermediate/lib_monero_wallet.dart 0.00% 46 Missing ⚠️
...allets/wallet/intermediate/lib_wownero_wallet.dart 0.00% 45 Missing ⚠️
...allets/wallet/intermediate/lib_salvium_wallet.dart 0.00% 43 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           staging    #1275      +/-   ##
===========================================
- Coverage     4.82%    4.82%   -0.01%     
===========================================
  Files         1064     1064              
  Lines       107921   107966      +45     
===========================================
  Hits          5208     5208              
- Misses      102713   102758      +45     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sneurlax sneurlax marked this pull request as ready for review May 13, 2026 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant