Closed Janaka-Steph closed 1 year ago
which balance do you refer to? base, quote, or both?
The amounts returned do not seem wrong to me though:
Referring to the quote ac3... I had 19990 and withdraw 10. I have 19980 left. I never had 39970. What do we mean by totalBalance? Maybe I don't interpret this field properly?
Also the daemon is slow to confirm balances. Refetching GetMarketInfo 10 seconds after withdraw is not enough, confirmed balance is still zero.
can you make another test and share the balance response before and after the withdrawal?
Same behaviour.
Before
After
This must be fixed by ocean.
I notice after a withdraw that balance.totalBalance is incorrect. balance.totalBalance is computed as the sum of unconfirmedBalance and lockedBalance, but this is incorrect since the same coins are counted twice.