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(sdk): create outputs for minimum amount in utxo splitter #72

Merged
merged 3 commits into from
Sep 28, 2023

Conversation

iamcrazycoder
Copy link
Contributor

@iamcrazycoder iamcrazycoder commented Sep 28, 2023

What this PR does / why we need it:

This PR fixes the issue where the UTXO splitter primarily used in the instant-trade flow created incorrect outputs. With the changes in this PR, the splitter fn would now create 2 outputs worth the minimum amount (600 sats).

Also, a fix to find all inscriptions to later find by outpoint has been added in this PR.

@iamcrazycoder iamcrazycoder self-assigned this Sep 28, 2023
@iamcrazycoder iamcrazycoder marked this pull request as ready for review September 28, 2023 07:36
@iamcrazycoder iamcrazycoder merged commit 1afa18f into main Sep 28, 2023
2 checks 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