From 53195153b9e7f22e6451fcb013cc5455d74bcce8 Mon Sep 17 00:00:00 2001 From: "raja.blaze" Date: Tue, 20 Aug 2019 19:12:33 +0530 Subject: [PATCH] Current Block reward --- server/i18n/de.json | 2 +- server/i18n/en.json | 2 +- src/app/view/home/graph-list/graph-list.component.ts | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/server/i18n/de.json b/server/i18n/de.json index f66fb89..f74ba02 100644 --- a/server/i18n/de.json +++ b/server/i18n/de.json @@ -44,7 +44,7 @@ "TRANSACTIONS_BY_TIME" : "Transaktionen im Zeitverlauf", "BLOCKS" : "Blöcke", "BLOCKSINTERVAL" : "Intervall-S / W-Blöcke", - "SUPPLY_GROWTH_HOVER" : "Heute Angebotswachstum", + "SUPPLY_GROWTH_HOVER" : "Aktuelle Blockbelohnung", "BOCKS_COUNT_HOVER" : "Heute Block Count", "TRANSACTION_FEE_HOVER" : "Heute Transaktionsgebühren insgesamt", "BLOCK_INTERVAL_HOVER" : "Heute Blockintervall in Sekunden", diff --git a/server/i18n/en.json b/server/i18n/en.json index 5580684..fc420d8 100644 --- a/server/i18n/en.json +++ b/server/i18n/en.json @@ -44,7 +44,7 @@ "TRANSACTIONS_BY_TIME" : "Transactions over time", "BLOCKS" : "Blocks", "BLOCKSINTERVAL" : "Interval B/W Blocks", - "SUPPLY_GROWTH_HOVER" : "Today Supply Growth", + "SUPPLY_GROWTH_HOVER" : "Current Block Reward", "BOCKS_COUNT_HOVER" : "Today Block Count", "TRANSACTION_FEE_HOVER" : "Today Total Transaction Fees", "BLOCK_INTERVAL_HOVER" : "Today Block Interval in Secs", diff --git a/src/app/view/home/graph-list/graph-list.component.ts b/src/app/view/home/graph-list/graph-list.component.ts index 258f586..21389e5 100644 --- a/src/app/view/home/graph-list/graph-list.component.ts +++ b/src/app/view/home/graph-list/graph-list.component.ts @@ -364,7 +364,8 @@ export class GraphListComponent implements OnInit { let gaddedreward = res.response.addedreward; let today_date_index = gDate.indexOf(moment(Date.now()).format('YYYY-MM-DD')); //let today_date_index = gDate.indexOf('2019-08-06'); - this.gg_last = gReward[today_date_index]; + //this.gg_last = gReward[today_date_index]; + this.gg_last = "16"; //this.gg_last = gReward[gReward.length - 1]; this.growthFunc(gDate, gReward, gaddedreward); resolve();