Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ironfish): Guard event loop when the wallet is locked #5393

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

rohanjadvani
Copy link
Member

Summary

If the wallet is locked, we can skip all the scanning logic. The wallet scanner already functions without this, but the conditional improves the logging and makes it clear when the scanner is actually scanning.

Testing Plan

Running CLI commands and toggled locked status

Documentation

Does this change require any updates to the Iron Fish Docs (ex. the RPC API
Reference
)? If yes, link a
related documentation pull request for the website.

[ ] Yes

Breaking Change

Is this a breaking change? If yes, add notes below on why this is breaking and label it with breaking-change-rpc or breaking-change-sdk.

[ ] Yes

@rohanjadvani rohanjadvani requested a review from a team as a code owner September 19, 2024 20:15
@rohanjadvani rohanjadvani merged commit c5ff945 into staging Sep 19, 2024
10 checks passed
@rohanjadvani rohanjadvani deleted the rohan/event-loop branch September 19, 2024 21:10
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.

2 participants