Blockstream / Blockstream/simplicity-dex
Different Asset_id in tables utxos and asset_entropy
Open
bug
- Dominant language
- Rust
- Stars
- 4
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
### Project version
0.1.0
### What happened?
An issue occurs within the `insert_transaction()` function. The `asset_id` for the `utxos` table is fetched from `TxOut`, while the `asset_id` for `asset_entropy` is derived from `TxIn`. This creates a situation where attempting to JOIN `asset_entropy` with the UTXO query results in 0 rows fetched
### Minimal reproduction steps
rework data insertion in DB
Contributor guide
Assessment
This issue has not been assessed yet.