Merge branch 'master' of https://gitlab.com/epic-tech/explorer2.epic.tech-angular8
This commit is contained in:
commit
9362ad18c2
@ -1903,7 +1903,7 @@ let remaining_height = 0;
|
|||||||
const BlockchainBlockPerSecondQuery = await getConnection()
|
const BlockchainBlockPerSecondQuery = await getConnection()
|
||||||
.query(
|
.query(
|
||||||
'select x.timestamp, SUM(x.reward) as total_reward_per_day \
|
'select x.timestamp, SUM(x.reward) as total_reward_per_day \
|
||||||
from (SELECT hash, height, CAST(timestamp AS DATE), \
|
from (SELECT DISTINCT height, hash, CAST(timestamp AS DATE), \
|
||||||
CASE \
|
CASE \
|
||||||
WHEN height <= '+BLOCK_ERA_1+' THEN 16 \
|
WHEN height <= '+BLOCK_ERA_1+' THEN 16 \
|
||||||
WHEN height <= '+BLOCK_ERA_2+' THEN 8 \
|
WHEN height <= '+BLOCK_ERA_2+' THEN 8 \
|
||||||
|
Loading…
Reference in New Issue
Block a user