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

Switch to persisting invoice rather than amount #66

Merged
merged 14 commits into from
Apr 12, 2024
Merged

Conversation

hydra-yse
Copy link
Collaborator

Since the idea is for the user to be able to claim from any instance, the invoice is a necessary component to do so. While we could add a separate method to re-fetch the invoice from Boltz servers with the given id, perhaps persisting the invoice directly is simpler.

@hydra-yse hydra-yse requested a review from ok300 March 29, 2024 04:02
@hydra-yse hydra-yse self-assigned this Mar 29, 2024
@hydra-yse hydra-yse changed the base branch from yse-restore to main April 4, 2024 16:30
@hydra-yse hydra-yse requested a review from ok300 April 4, 2024 16:41
lib/src/wallet.rs Outdated Show resolved Hide resolved
lib/src/persist/migrations.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@ok300 ok300 left a comment

Choose a reason for hiding this comment

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

Added just 2 comments, otherwise looks good!

cli/src/commands.rs Show resolved Hide resolved
lib/src/persist/mod.rs Outdated Show resolved Hide resolved
@hydra-yse hydra-yse requested a review from ok300 April 10, 2024 09:50
@hydra-yse hydra-yse requested a review from ok300 April 12, 2024 13:33
@hydra-yse hydra-yse merged commit 85e8a6d into main Apr 12, 2024
2 checks passed
@hydra-yse hydra-yse deleted the yse-persist-invoice branch April 12, 2024 13:51
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