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

Bitcoin outbound tx gas fee calculation should be based on signed transaction size #1661

Closed
Tracked by #1666
ws4charlie opened this issue Jan 29, 2024 · 0 comments · Fixed by #1669
Closed
Tracked by #1666
Assignees
Labels
zetaclient Issues related to ZetaClient

Comments

@ws4charlie
Copy link
Contributor

The current logic is using unsigned tx size to calculate gas fee which will lead to underpriced outbound transaction. We should use a more accurate calculation.
image
https://github.com/zeta-chain/node/blob/develop/zetaclient/btc_signer.go#L117

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
zetaclient Issues related to ZetaClient
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants