Skip to content

fix(fees): allow input for relative fee limit of 0.0001%#603

Merged
dergigi merged 1 commit intomasterfrom
fix/relative-fee-limit
Feb 6, 2023
Merged

fix(fees): allow input for relative fee limit of 0.0001%#603
dergigi merged 1 commit intomasterfrom
fix/relative-fee-limit

Conversation

@theborakompanioni
Copy link
Collaborator

@theborakompanioni theborakompanioni commented Jan 31, 2023

Resolves #602.

This seems to have been just an oversight.
Before this PR, the fee modal did not let users specify 0.0001% as relative fee limit.
After this PR, 0.0001% is allowed and accepted as valid value.

Tested by setting "absolute fee limit" to 10 sats (makers in regest use 250 sats as absolute fee) and "relative fee limit" to 0.0001% (factor: 0.000001), then sending a collaborative transaction sweeping Jar A with 2 collaborators on regtest.
Success ✔️

Verify the transaction by watching the logs with npm run regtest:logs:jmwalletd.

@theborakompanioni theborakompanioni added the bug Something isn't working label Jan 31, 2023
@theborakompanioni theborakompanioni self-assigned this Jan 31, 2023
@theborakompanioni theborakompanioni marked this pull request as ready for review January 31, 2023 10:55
@theborakompanioni theborakompanioni changed the title fix(fee): allow input for min relative fee of 0.0001% fix(fee): allow input for relative fee limt of 0.0001% Jan 31, 2023
@theborakompanioni theborakompanioni changed the title fix(fee): allow input for relative fee limt of 0.0001% fix(fees): allow input for relative fee limt of 0.0001% Jan 31, 2023
@theborakompanioni theborakompanioni changed the title fix(fees): allow input for relative fee limt of 0.0001% fix(fees): allow input for relative fee limit of 0.0001% Jan 31, 2023
Copy link
Contributor

@dergigi dergigi left a comment

Choose a reason for hiding this comment

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

LGTM, utACK ✅

@dergigi dergigi merged commit 1c87a6d into master Feb 6, 2023
@dergigi dergigi deleted the fix/relative-fee-limit branch February 6, 2023 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Collaborator Fee (Relative Limit) bug

2 participants