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 fallback doge transaction fee #5844

Merged
merged 2 commits into from
Dec 13, 2023
Merged

Conversation

0xApotheosis
Copy link
Contributor

Description

Adds a special case when calculating the network fees for DOGE to fallback on a hardcoded satoshiPerByte value that is high enough to go through (the number is a little over double the current "fast" value).

Note, https://api.dogecoin.shapeshift.com/api/v1/fees seems to be working fine now, so it won't actually change behaviour right now.

Pull Request Type

  • 🐛 Bug fix (Non-breaking Change: Fixes an issue)
  • 🛠️ Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
  • 💅 New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

Closes #5822

Risk

Small - user could pay more DOGE in transactions fees if this is not implemented correctly.

Testing

Not currently possible without intercepting the response to https://api.dogecoin.shapeshift.com/api/v1/fees

Engineering

Sanity check logic.

Operations

DOGE sends should work.

Screenshots (if applicable)

N/A

@0xApotheosis 0xApotheosis requested a review from a team as a code owner December 13, 2023 02:54
@woodenfurniture woodenfurniture merged commit a7f1fa3 into develop Dec 13, 2023
1 check passed
@woodenfurniture woodenfurniture deleted the hardcode-doge-fee branch December 13, 2023 03:04
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.

Unable to send Doge
2 participants