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

Hotfix: Use virtual bytes to calculate correct tx fees for Segwit UTXO generate_transaction #1156

Merged
merged 1 commit into from
Nov 29, 2021

Conversation

shamardy
Copy link
Collaborator

fixes #1133 (comment)

I can see that the generate_transaction fn is changed to UtxoTxBuilder in the dev branch so maybe I should do the same fix in the Lightning Network Channels PR

Note that for legacy transactions virtual bytes are equal to actual bytes.

Copy link
Member

@artemii235 artemii235 left a comment

Choose a reason for hiding this comment

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

👍

Copy link

@sergeyboyko0791 sergeyboyko0791 left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@artemii235 artemii235 merged commit 879f96a into mm2.1 Nov 29, 2021
@artemii235 artemii235 deleted the hotfix-tx-size-vbytes branch November 29, 2021 11:57
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