Skip to content

Fix: Issueasset tx with blind parameter false is not accepted after t… #1444

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

Closed

Conversation

Mixa84
Copy link

@Mixa84 Mixa84 commented Apr 2, 2025

Fixes #1443

The fix is done by passing the consensus params to CheckTxInputs(), VerifyAmounts() and VerifyIssuanceAmount() in order to have the pegged asset in the last one. I thought to pass the whole params if anything else will be needed later, but it could also be to pass pegged_asset only to VerifyAmounts() and VerifyIssuanceAmount.

Adapted the test also to check for unblinded issuance and that it is working correctly.

Appreciate the review and feel free to suggest any different approach if this one is not suitable.

@delta1 @psgreco

@delta1
Copy link
Member

delta1 commented Apr 3, 2025

It is a bit less invasive to just get the params where we need them as in #1445

@Mixa84 Mixa84 closed this Apr 8, 2025
@Mixa84 Mixa84 deleted the elements-23.x branch May 15, 2025 19:34
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.

2 participants