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

Add API for payment started with XMR auto conf params #7036

Merged
merged 1 commit into from Mar 27, 2024
Merged

Add API for payment started with XMR auto conf params #7036

merged 1 commit into from Mar 27, 2024

Conversation

ghost
Copy link

@ghost ghost commented Feb 14, 2024

Fixes #7033

Basedon / follow-on from #7023.

Allows tx-id & tx-key to be specified for XMR auto-confirm.

@ghost ghost closed this Feb 14, 2024
@ghost ghost reopened this Feb 14, 2024
@dutu
Copy link

dutu commented Feb 15, 2024

It works great, thank you!

Copy link
Contributor

@alvasw alvasw left a comment

Choose a reason for hiding this comment

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

Nit

We can simplify the null and isEmpty handling with Optional<String>s. Moreover Optionals enforce us to handle both cases and avoid NullPointerExceptions.

@ghost ghost closed this Feb 26, 2024
@dutu
Copy link

dutu commented Feb 26, 2024

@jmacxx are we not going to have this change implemented?

@ghost
Copy link
Author

ghost commented Feb 26, 2024

I had to fix merge conflicts with the current master branch. Also, I don't know how to implement @alvasw suggestion above.

@ghost ghost reopened this Feb 26, 2024
@dutu
Copy link

dutu commented Feb 26, 2024

From what I can see, you have implemented null and isEmpty checks in line with existing code done for other parameters.

@alvasw, for consistency sake would it make more sense to change these checks based on your suggestions separately, when it's done for all parameters?

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 85e7f49 into bisq-network:master Mar 27, 2024
6 checks passed
@alejandrogarcia83 alejandrogarcia83 added this to the v1.9.16 milestone Apr 9, 2024
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.

Cannot provide XMR tx id and tx key with RPC method ConfirmPaymentStarted
3 participants