viabtc_exchange_server icon indicating copy to clipboard operation
viabtc_exchange_server copied to clipboard

Getting NaN in Asset Balance Value

Open codeman-crypto opened this issue 5 years ago • 5 comments

Hi,

When I try to get the asset balance query, I am getting the value NaN in the balance. I try to update the balance but nothing is happening, still getting NaN in balance. Can anyone help me on this.

Also please let me know where the asset balance data are stored.

Thanks in Advance

codeman-crypto avatar Oct 16 '19 11:10 codeman-crypto

@haipome Could you please help me on this? I am unable to add balance to that user. it always returns NaN in the balance

codeman-crypto avatar Oct 18 '19 06:10 codeman-crypto

I am also facing the same issue... @objectt can you help resolve this issue

niyas avatar Dec 24 '19 04:12 niyas

@codeman-crypto @niyas Could you describe the scenario in detail?

objectt avatar Dec 24 '19 05:12 objectt

@objectt I have mistakenly updated the balance with negative value and it showing me NaN in balance. When I try to update the balance its not getting updated. How do I update the balance back to 0?

niyas avatar Dec 27 '19 05:12 niyas

@niyas you cannot subtract value bigger than what you currently have. (refer to balance_sub function in me_balance.c). Did you by any chance do something else that have caused the problem?

objectt avatar Dec 30 '19 02:12 objectt