Skip to content
This repository was archived by the owner on Feb 8, 2026. It is now read-only.

fix(send): fee calculation for tx w/ p2sh input addresses#897

Merged
pwltr merged 2 commits intomasterfrom
fix/p2sh-fee
Feb 19, 2023
Merged

fix(send): fee calculation for tx w/ p2sh input addresses#897
pwltr merged 2 commits intomasterfrom
fix/p2sh-fee

Conversation

@pwltr
Copy link
Copy Markdown
Collaborator

@pwltr pwltr commented Feb 19, 2023

This fixes the min relay fee error when sending from a p2sh input. Also removed the condition for the fee to be higher than recommendedBaseFee.

Changes

  • add missing field P2SH for fee calculation
  • add types for address weight calculation objects

@pwltr pwltr requested a review from coreyphillips February 19, 2023 16:52
@pwltr pwltr merged commit fdd540e into master Feb 19, 2023
@pwltr pwltr deleted the fix/p2sh-fee branch February 19, 2023 20:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants