Skip to content

Commit

Permalink
在 api 中添加 currentBlockHeight
Browse files Browse the repository at this point in the history
  • Loading branch information
interestingLSY committed Aug 9, 2021
1 parent f0cdca5 commit bc23066
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libs/website.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,10 @@ module.exports = function(portalConfig,coinsConfig){
symbol: coinsConfig[coin].symbol.toUpperCase(),
algorithm: coinsConfig[coin].stratumServer.coin.algorithm,
hashrate: coinsStat[coin].latest.pool.hr,
hashrateString: GetReadableHr(coinsStat[coin].latest.pool.hr)
hashrateString: GetReadableHr(coinsStat[coin].latest.pool.hr),
poolStats: {
networkBlocks: coinsStat[coin].currentBlockHeight
}
};
result.pools[coin] = curCoinResult;
}
Expand Down

0 comments on commit bc23066

Please sign in to comment.