Merge pull request #2001 from ecency/nt/peakd-formula

fixed median typo
This commit is contained in:
Feruz M 2021-07-17 20:28:39 +03:00 committed by GitHub
commit bd0e2c39fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ export const fetchGlobalProps = async () => {
parseToken(get(globalDynamic, 'total_vesting_shares'))) *
1e6;
const hbdPrintRate = get(globalDynamic, 'hbd_print_rate');
const base = parseAsset(get(medianHistory, 'current_median_history.quote')).amount;
const base = parseAsset(get(medianHistory, 'current_median_history.base')).amount;
const quote = parseAsset(get(medianHistory, 'current_median_history.quote')).amount;
const fundRecentClaims = get(rewardFund, 'recent_claims');
const fundRewardBalance = parseToken(get(rewardFund, 'reward_balance'));