From c9dd9d3b0de96230b7eb8cedd0a676a332497df2 Mon Sep 17 00:00:00 2001 From: shunmugam Date: Mon, 14 Oct 2019 12:05:39 +0530 Subject: [PATCH] Commit - Fix block mined graph from genesis block count --- server/controllers/BlockchainBlock.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/controllers/BlockchainBlock.ts b/server/controllers/BlockchainBlock.ts index 57aae6e..285aef5 100644 --- a/server/controllers/BlockchainBlock.ts +++ b/server/controllers/BlockchainBlock.ts @@ -1988,7 +1988,7 @@ export class BlockchainBlockController { Count( CASE WHEN proof = 'Cuckoo' THEN 1 ELSE NULL END) AS Cuckoo,\ Count( CASE WHEN proof = 'ProgPow' THEN 1 ELSE NULL END) AS ProgPow \ FROM blockchain_block \ - where " + + where height>0 " + timeIntervalQry + "GROUP BY DATE_TRUNC('day', timestamp at time zone '" + process.env.TIME_ZONE +