Commit 9e9b8b6
fix: mismatched tms db state (#7131)
Description
---
Somehow the TMS db for completed transactions loses its mined height,
but keeps its mined_confirmed status. The outputs are correctly marked
with mined_heights in the OMS.
This tries to correct the fields and update them
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Improved detection and retrieval of transactions with mismatched mined
status, ensuring more accurate reporting of unconfirmed transactions in
the wallet.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>1 parent 7867d12 commit 9e9b8b6
File tree
1 file changed
+46
-0
lines changed- base_layer/wallet/src/transaction_service/storage
1 file changed
+46
-0
lines changedLines changed: 46 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1045 | 1045 | | |
1046 | 1046 | | |
1047 | 1047 | | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
1048 | 1057 | | |
1049 | 1058 | | |
1050 | 1059 | | |
| |||
1820 | 1829 | | |
1821 | 1830 | | |
1822 | 1831 | | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
| 1838 | + | |
| 1839 | + | |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
| 1843 | + | |
| 1844 | + | |
| 1845 | + | |
| 1846 | + | |
| 1847 | + | |
| 1848 | + | |
| 1849 | + | |
| 1850 | + | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
| 1854 | + | |
| 1855 | + | |
| 1856 | + | |
| 1857 | + | |
| 1858 | + | |
| 1859 | + | |
| 1860 | + | |
| 1861 | + | |
| 1862 | + | |
| 1863 | + | |
| 1864 | + | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
1823 | 1869 | | |
1824 | 1870 | | |
1825 | 1871 | | |
| |||
0 commit comments