-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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: remove unnecessary null check, use correct marker class, add mis… #7348
Conversation
Thanks for opening this pull request! |
…sing return keyword
@@ -14,7 +14,7 @@ public CheckNumberOfUnconfirmedTransactions(TaskRunner<PlaceOfferModel> taskHand | |||
@Override | |||
protected void run() { | |||
if (model.getWalletService().isUnconfirmedTransactionsLimitHit() || model.getBsqWalletService().isUnconfirmedTransactionsLimitHit()) | |||
failed(Res.get("shared.unconfirmedTransactionsLimitReached")); | |||
return failed(Res.get("shared.unconfirmedTransactionsLimitReached")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The curly brackets at the if are missing. The failed() method has void as return type so it cannot be used as return statement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
Awesome work, congrats on your first merged pull request! |
…sing return keyword, and fix Preferences.setRpcUser
as discussed and confirmed on matrix chat (bisq v1 dev channel), these are minor bugs, so I made a PR
resolves #7347