From fed7f361cabcbb94266bf3779588f98d1771f24a Mon Sep 17 00:00:00 2001 From: shunmugam Date: Thu, 17 Oct 2019 11:44:46 +0530 Subject: [PATCH] Commit -fix graph not to show genesis block details --- 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 6818020..e8ca472 100644 --- a/server/controllers/BlockchainBlock.ts +++ b/server/controllers/BlockchainBlock.ts @@ -1213,7 +1213,7 @@ export class BlockchainBlockController { max(total_difficulty_randomx) as total_difficulty_randomx, date(DATE_TRUNC('day', timestamp at time zone '" + process.env.TIME_ZONE + "')) as date, count(DISTINCT hash) as blocks \ - from blockchain_block where " + + from blockchain_block where height > 0 and " + timeIntervalQry + "group by DATE_TRUNC('day', timestamp at time zone '" + process.env.TIME_ZONE +