Commit aad784a
authored
fix(indexer): list_substates can also list nfts (tari-project#1302)
Description
---
fix(indexer): list_substates can also list nfts
Motivation and Context
---
A change in the nft address format caused the indexer not to be able to
list nfts
ref tari-project#1080
How Has This Been Tested?
---
Calling list_substates on the indexer with "NonFungible"
What process can a PR reviewer use to test or verify this change?
---
Breaking Changes
---
- [x] None
- [ ] Requires data directory to be deleted
- [ ] Other - Please specify
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Refactor**
- Simplified internal filtering logic for data queries by unifying the
formatting approach. The update streamlines the process for constructing
query filters, enhancing consistency in processing different types
without changing public behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 3127a37 commit aad784a
File tree
1 file changed
+1
-4
lines changed- applications/tari_indexer/src/substate_storage_sqlite
1 file changed
+1
-4
lines changedLines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
| 258 | + | |
262 | 259 | | |
263 | 260 | | |
264 | 261 | | |
| |||
0 commit comments