[busy] SBD price & estimated account value are not working

Words
173
Reading
1 min
Listen
Play
7y

Project Information

Issue: https://github.com/busyorg/busy/issues/2207

While there is no response on the issue, I personally contacted the PO, so the bug is acknowledged and I'll fix this. In addition, you can see this bug anytime.

Expected behavior

SBD market price and estimated account value should be shown

Actual behavior

SBD price & estimated account value are not working

How to reproduce

Visit wallet page. e.g., https://busy.org/@ned/transfers

Cause

This is because SBD market price can't be fetched. Estimated account value uses SBD price, so it shows waiting icon.

  • Browser: Any
  • Operating system: Any

Recording Of The Bug

  • no SBD market price
  • infinite waiting icon for Est. account value

Cause and fix

https://github.com/busyorg/busy/blob/27dd2383806eda8daf46748cbbbb26739d08ced4/src/client/user/UserWallet.js#L135-L139

The previous API doesn't provide SBD price anymore.

Thus, SBD price can't be shown and the est. account value which needs SBD price can't be calculated.

https://postpromoter.net/api/prices (Steem Engine uses this, and my SCOT VP viewer: https://economicstudio.github.io/vp/ also uses this, and it's quite stable) is a good alternative for STEEM & SBD price quote.

GitHub Account

https://github.com/economicstudio

[busy] SBD price & estimated account value are not working | Ecency