You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Legacy NEP-5 balance display is broken under some conditions - one condition is if the user has ever provided liquidity to a legacy Flamingo pool.
The issue is related to CityOfZion/neon-js#921 - when the token info call fails due to neon-js' inability to decode the totalSupply (even on a LP pair token with no remaining balance), Neon no longer continues trying to retrieve token balances for the rest of the NEP-5 tokens in the wallet.
If possible, Neon should try and handle the token info error gracefully and just skip any it can't decode (I don't believe totalSupply is even used anywhere in Neon)
Here's an example for reproduction:
Import a watch account for the address AKEX765mtnPUPj4L5n5C8KcauGkRkuTuxQ
Neon shows the following error in the debug tools console:
bundle.js:formatted:525160 Error: Expected a hexstring but got 33119936322
at S (bundle.js:formatted:39878:27)
at M (bundle.js:formatted:39863:17)
at Array.O (bundle.js:formatted:69284:57)
at bundle.js:formatted:42405:36
at Array.map (<anonymous>)
at f.parse (bundle.js:formatted:42404:30)
at bundle.js:formatted:41279:27
No NEP-5 token balances are displayed, despite this address having a balance of nNEO and fUSDT
The text was updated successfully, but these errors were encountered:
This issue is stale because it has been open for 14 days with no activity. It will be automatically closed in 7 days from now if no activity is detected.
@hal0x2328 I started working on this problem and was able to resolve the issue with Legacy nep-5 transactions not showing up on the Activity tab. However, balances are still not correctly displayed and I think that is because the master token list has not been up-to-date. I checked the address you listed and NeoTube shows a balance of fUSDT at the time of writing this, which is not included in the master list of tokens. I am not sure who is maintaining that list anymore but it looks like @comountainclimber was the last person to merge an update to it.
Legacy NEP-5 balance display is broken under some conditions - one condition is if the user has ever provided liquidity to a legacy Flamingo pool.
The issue is related to CityOfZion/neon-js#921 - when the token info call fails due to neon-js' inability to decode the totalSupply (even on a LP pair token with no remaining balance), Neon no longer continues trying to retrieve token balances for the rest of the NEP-5 tokens in the wallet.
If possible, Neon should try and handle the token info error gracefully and just skip any it can't decode (I don't believe totalSupply is even used anywhere in Neon)
Here's an example for reproduction:
The text was updated successfully, but these errors were encountered: