Skip to content

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

@boring-cyborg
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.

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
@boring-cyborg
Copy link

boring-cyborg bot commented Jan 15, 2025

Awesome work, congrats on your first merged pull request!

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