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

Fix bug creating large spark spend tx #1399

Merged
merged 1 commit into from
Jan 24, 2024
Merged

Fix bug creating large spark spend tx #1399

merged 1 commit into from
Jan 24, 2024

Conversation

levonpetrosyan93
Copy link
Contributor

GetTransactionWeight(tx) >= MAX_NEW_TX_WEIGHT this check should be true and tx creation will fail in case tx size is bigger then 130,000 byte, MAX_NEW_TX_WEIGHT is defined as 520000 and weight is calculated actual tx size * 4,

@reubenyap reubenyap merged commit 6d2b76c into master Jan 24, 2024
6 checks passed
@reubenyap reubenyap deleted the weight-fix branch January 24, 2024 13:08
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