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: Updating nonWitnessUtxo on input to undefined #63

Merged
merged 1 commit into from
Nov 8, 2023
Merged

fix: Updating nonWitnessUtxo on input to undefined #63

merged 1 commit into from
Nov 8, 2023

Conversation

victorkirov
Copy link
Contributor

Currently, if you want to remove the nonWitnessUtxo field from an input, it is not possible using the updateInput method as the logic takes the existing nonWitnessUtxo value if a value of undefined is passed in.

This fixes the issue and will delete the nonWitnessUtxo value if an input is updated with an undefined value for that field.

@paulmillr paulmillr merged commit f01e152 into paulmillr:main Nov 8, 2023
1 check passed
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