KomodoPlatform / komodo-wallet-desktop

Komodo Wallet Desktop GUI
https://komodoplatform.com/en/wallet/
GNU General Public License v2.0
238 stars 206 forks source link

[BUG]: Order cancelled when balance changed #1787

Open smk762 opened 2 years ago

smk762 commented 2 years ago

Related to https://github.com/KomodoPlatform/atomicDEX-API/issues/1254 & https://github.com/KomodoPlatform/atomicDEX-Desktop/issues/591

One way to mitigate this could be with caching and comparing last valid electrum response to current incoming response and ignoring it if bad state (reporting confirmed funds as both confirmed and unconfirmed) is detected.

cipig commented 1 year ago

related https://github.com/KomodoPlatform/electrumx-1/pull/4 i wonder if this still happens with our electrums