Skip to content

adjustment for proper calculation and display of delegated values and usd counterpart (316)

mcfarhat requested to merge mcfarhat-fix_delegated_values_display into develop

After the last fix for VESTS/HP conversion, there was still an issue with the proper calculation affected by decimal point inclusion and extra spacing prior to VESTS wording, which affected final output whether in HP or USD in different cases.

This MR is to fix those issues (issue #316 (closed))

Pre fix (incorrect value displayed under Delegated HP)

image.png

Matching VESTS value: (75,955.308014 VESTS atm equals after / ~1708 = ~ 44.47HP )

image.png

Post fix

image.png

Merge request reports

Loading