You are viewing a single comment's thread from:

RE: Why account values (and a few other things) are messed up

in #steem6 years ago (edited)

Yeah, also had it messed up on Steeve. Fixed by

<pre><code>const estimate = new BigNumber(vote.rshares) .dividedBy(recentClaims) - .toNumber() * rewardBalance * sbdMedianPrice; + .toNumber() * rewardBalance * priceSbdBase / priceSteemQuote; <p dir="auto">where <code>priceSbdBase is actually <code>sbdMedianPrice renamed. <p dir="auto">Posted using <a href="https://www.steeve.app/@steeveapp" target="_blank" rel="nofollow noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Steeve