Commit - Fix block mined graph from genesis block count

This commit is contained in:
shunmugam 2019-10-14 12:05:39 +05:30
parent bcd47d6dd7
commit c9dd9d3b0d

View File

@ -1988,7 +1988,7 @@ export class BlockchainBlockController {
Count( CASE WHEN proof = 'Cuckoo' THEN 1 ELSE NULL END) AS Cuckoo,\ Count( CASE WHEN proof = 'Cuckoo' THEN 1 ELSE NULL END) AS Cuckoo,\
Count( CASE WHEN proof = 'ProgPow' THEN 1 ELSE NULL END) AS ProgPow \ Count( CASE WHEN proof = 'ProgPow' THEN 1 ELSE NULL END) AS ProgPow \
FROM blockchain_block \ FROM blockchain_block \
where " + where height>0 " +
timeIntervalQry + timeIntervalQry +
"GROUP BY DATE_TRUNC('day', timestamp at time zone '" + "GROUP BY DATE_TRUNC('day', timestamp at time zone '" +
process.env.TIME_ZONE + process.env.TIME_ZONE +