Closed tonymorony closed 4 years ago
By bisection method I've found a file caused it (without this one tx history displaying fine):
6462abf3-bcb9-46dc-bd55-693361d147e4.zip
It's a swap with "StartFailed" event (btw mm2 panic unrelated to that problem)
that looks like exactly the same problem as in https://github.com/KomodoPlatform/atomicDEX-Pro/issues/234 so it's not fixed it seems
@tonymorony Do you see the panic repeatedly or it happened just once? It was caused by this code https://github.com/KomodoPlatform/atomicDEX-API/blob/08d013c6a5983ccb590b246a5600387f9918a805/mm2src/coins/lp_coins.rs#L397, history cache file failed to be renamed and panicked due to unwrap, we should handle this gracefully on MM2 side. Could you please open an issue in AtomicDEX-API repo for further investigation?
@artemii235 I can see it on every GUI startup, sure will open the issue now
I'm following this one, thanks for the issue @tonymorony
I'm following this one, thanks for the issue @tonymorony
great! yea, would be superb if GUI can handle "type": "StartFailed" swaps
Describe the bug
I've used the app quite actively and performed over than 30 swaps as maker and taker, on some point my "Recent swaps" page cleared and new swaps not displaying here however DB is still there. I suspect that some swap file broke it, investigating.
App version: latest dev, OS: Windows
Log: history_adex.log
Noticed adex-api panic in log, maybe it's related: