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

const estimate = new BigNumber(vote.rshares)
  .dividedBy(recentClaims)
- .toNumber() * rewardBalance * sbdMedianPrice;
+ .toNumber() * rewardBalance * priceSbdBase / priceSteemQuote;

where priceSbdBase is actually sbdMedianPrice renamed.

Posted using Steeve