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: remove unnecessary null check, use correct marker class, add mis… #7348

Merged
merged 3 commits into from
Jan 15, 2025

Conversation

thecockatiel
Copy link
Contributor

@thecockatiel thecockatiel commented Jan 4, 2025

…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

Copy link

boring-cyborg bot commented Jan 4, 2025

Thanks for opening this pull request!

Please check out our contributor checklist and check if Travis or Codacy found any issues with your PR. Also make sure your commits are signed, and that you applied Bisq's code style and formatting.

A maintainer will add an is:priority label to your PR if it is up for compensation. Please see our Bisq Q1 2020 Update post for more details.

@@ -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"));
Copy link
Collaborator

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.

Copy link
Collaborator

@HenrikJannsen HenrikJannsen left a comment

Choose a reason for hiding this comment

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

utACK

Copy link
Contributor

@alejandrogarcia83 alejandrogarcia83 left a comment

Choose a reason for hiding this comment

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

utACK

@alejandrogarcia83 alejandrogarcia83 merged commit cd81537 into bisq-network:master Jan 15, 2025
3 checks passed
Copy link

boring-cyborg bot commented Jan 15, 2025

Awesome work, congrats on your first merged pull request!

@alejandrogarcia83 alejandrogarcia83 added this to the v1.9.19 milestone Jan 15, 2025
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.

bug in Preferences.setRpcUser?
3 participants