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

feat: add setswapstatus to boltz-cli #500

Merged
merged 4 commits into from
Mar 11, 2024
Merged

Conversation

maybeast
Copy link
Collaborator

@maybeast maybeast commented Mar 8, 2024

This commit adds a new boltz-cli setswapstatus <swapID> <status> command to update swap statuses manually.

Closes #495

This commit adds a new `boltz-cli setswapstatus <swapID> <status>` command to update swap statuses
manually.

Closes #495
lib/service/Service.ts Outdated Show resolved Hide resolved
@maybeast
Copy link
Collaborator Author

Updated. As discussed internally we're only going to handle 2 statuses, invoice.pending and invoice.failedToPay, within the scope of this PR until we refactor the swap update event handling.

Copy link
Member

@michael1011 michael1011 left a comment

Choose a reason for hiding this comment

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

Works! Just some minor feedback on wording and code style

lib/service/Errors.ts Outdated Show resolved Hide resolved
lib/service/Service.ts Outdated Show resolved Hide resolved
lib/service/Service.ts Outdated Show resolved Hide resolved
proto/boltzrpc.proto Outdated Show resolved Hide resolved
test/unit/service/Service.spec.ts Outdated Show resolved Hide resolved
lib/service/Service.ts Outdated Show resolved Hide resolved
@michael1011 michael1011 merged commit 7853162 into master Mar 11, 2024
2 checks passed
@michael1011 michael1011 deleted the feat/cli-updateswapstatus branch March 11, 2024 21:18
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.

Update swap status CLI tool
2 participants