Skip to content

Keep state for LN > LQ swaps#513

Merged
tiero merged 6 commits into
vulpemventures:masterfrom
bordalix:swap_lock_state
Mar 4, 2024
Merged

Keep state for LN > LQ swaps#513
tiero merged 6 commits into
vulpemventures:masterfrom
bordalix:swap_lock_state

Conversation

@bordalix

Copy link
Copy Markdown
Contributor

This PR:

  • splits receiving in lightning into 2 differet routes:
    • insert amount
    • show invoice
  • stores on local storage amount inserted and swap data
  • if the user already inserted an amount, when coming back will see that page with previous amount
  • if user closes the popup before ending the claiming (ie receiving LN), he can now re-open it and the app will remember and finalize the claim tx

closes #510

@tiero please review

- splits receiving in lightning into 2 differet routes:
  - insert amount
  - show invoice
- stores on local storage amount inserted and swap data
- if the user already inserted an amount, when coming back will see that page with previous amount
- if user closes the popup before ending the claiming (ie receiving LN), he can now re-open it and the app will remember and finalize the claim tx
@tiero tiero changed the title This commit: Keep state for LN > LQ swaps Dec 26, 2023
Comment thread src/extension/wallet/receive/lightning-enter-amount.tsx
@tiero tiero merged commit 2e3dfab into vulpemventures:master Mar 4, 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.

LN > LQ swap must lock the screen state until completed

2 participants