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

fix(wallet): Refactor setupFeeForOnChainTransaction #1585

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

coreyphillips
Copy link
Collaborator

Description

  • Moves setupFeeForOnChainTransaction usage to an earlier part of the tx creation flow.
  • Updates setupFeeForOnChainTransaction to attempt 1 satsPerByte if selectedFeeId fails.

Linked Issues/Tasks

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Tests

  • No test

Screenshot / Video

Simulator.Screen.Recording.-.iPhone.14.-.2024-02-21.at.13.36.51.mp4
Simulator.Screen.Recording.-.iPhone.14.-.2024-02-21.at.13.34.44.mp4

QA Notes

  • Set a low spending amount such as 547 with multiple inputs/utxos and attempt to continue the tx creation flow. You should now get prompted with an alert suggesting that you increase the send amount. Or in the event you're on the coin selection screen, remove some of your UTXO's.

Moves setupFeeForOnChainTransaction usage to an earlier part of the tx creation flow.
Updates setupFeeForOnChainTransaction to attempt 1 satsPerByte if selectedFeeId fails.
@coreyphillips coreyphillips merged commit 849029f into master Feb 22, 2024
4 of 5 checks passed
@coreyphillips coreyphillips deleted the fix/fee-setup branch February 22, 2024 11:45
@JeanlChristophe
Copy link

@coreyphillips please don't forget to add to each ticket:

  • Project
  • Status
  • Sprint
  • Milestone
    Thanks

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.

3 participants