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 NPE due to null collection access in maybeClearStaleRates. #41

Merged
merged 1 commit into from Nov 15, 2023
Merged

Fix NPE due to null collection access in maybeClearStaleRates. #41

merged 1 commit into from Nov 15, 2023

Conversation

ghost
Copy link

@ghost ghost commented Nov 10, 2023

Implementation of #36 failed to handle cases where the rates collection may be null. As such there is an edge case where a null pointer error happens. This PR checks before accessing the provided collection.

Copy link
Contributor

@gabernard gabernard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@gabernard gabernard merged commit 6073a39 into bisq-network:main Nov 15, 2023
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