-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(wallet): select only basic utxos when building a transaction (#4178)
Description --- * Added a new filter when selecting unspent outputs on the wallet db level, to filter by the desired output tags * Updated the integration test for the contract constitution, to first publish a contract definition Motivation and Context --- When selecting UTXOs as inputs for a new transaction, we want to only pick those "basic" UTXOs (only coinbase or no tags) to avoid spending "special" (i.e. DAN layer) outputs. How Has This Been Tested? --- The integration tests for contract definition + contract constitution do pass when publishing both transactions in the same test
- Loading branch information
Showing
2 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters