Skip to content

Add /getswap API#55

Merged
zoedberg merged 1 commit into
RGB-Tools:masterfrom
Arshia-r-m:add-getswap-api
May 20, 2025
Merged

Add /getswap API#55
zoedberg merged 1 commit into
RGB-Tools:masterfrom
Arshia-r-m:add-getswap-api

Conversation

@Arshia-r-m
Copy link
Copy Markdown
Contributor

@Arshia-r-m Arshia-r-m commented May 16, 2025

Add /getswap API to get a single swap via it's payment hash
fix to #54

Copy link
Copy Markdown
Member

@zoedberg zoedberg left a comment

Choose a reason for hiding this comment

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

Thanks! I've requested a small change. Please also rebase the commit on top of the latest master (after the recent Rust update there was a lint error), modify the README (as requested in the issue) and edit the swap_roundtrip_assets to use the new API (as requested elsewhere)

Comment thread src/error.rs Outdated
@Arshia-r-m
Copy link
Copy Markdown
Contributor Author

The changes has been made

@Arshia-r-m Arshia-r-m requested a review from zoedberg May 19, 2025 18:26
Copy link
Copy Markdown
Member

@zoedberg zoedberg left a comment

Choose a reason for hiding this comment

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

I've requested a small change. Also it seems you forgot to rebase on the latest master, please do that and also rename the commit to add /getswap API

Comment thread src/test/swap_roundtrip_assets.rs Outdated
@Arshia-r-m Arshia-r-m requested a review from zoedberg May 20, 2025 11:27
Copy link
Copy Markdown
Member

@zoedberg zoedberg left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@zoedberg zoedberg merged commit 29b7dd1 into RGB-Tools:master May 20, 2025
12 checks passed
@zoedberg zoedberg mentioned this pull request May 20, 2025
@Arshia-r-m Arshia-r-m deleted the add-getswap-api branch May 20, 2025 12:14
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.

2 participants