-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
same input added twice to PSBT #14
Comments
No, this is unrelated to #13. It seems the issue is in RGB wallet and not in BP wallet. @nicbus can you please open the same issue and copy-paste this content into https://github.com/RGB-WG/rgb? |
Actually we already have it there: RGB-WG/rgb#117 |
Closing it here since it is referenced from RGB wallet issue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using this branch of rgb-sandbox and trying to execute a transfer that needs to spend two allocations from the same UTXO, the PSBT ends up containing the same input twice.
The unspents before the transfer come up as:
The
vin
section of the PSBT contains:Trying to broadcast the transaction (via bitcoind
sendrawtransaction
) fails with thebad-txns-inputs-duplicate
error.This might be worth looking into together with #13, which is also about input selection.
The text was updated successfully, but these errors were encountered: