stacks-network / stacks-core

The Stacks blockchain implementation
https://docs.stacks.co
GNU General Public License v3.0
3.01k stars 667 forks source link

Fix: generate a well-formed Bitcoin transaction when spending multiple UTXOs #5098

Closed jcnelson closed 1 month ago

jcnelson commented 1 month ago

See title. The partially-signed bitcoin transaction wasn't properly structured, which caused block-commits which consume multiple UTXOs to fail due to invalid signatures. This fixes this problem and adds test coverage.