Current Block reward

This commit is contained in:
raja.blaze 2019-08-20 19:12:33 +05:30
parent 3727921483
commit 53195153b9
3 changed files with 4 additions and 3 deletions

View File

@ -44,7 +44,7 @@
"TRANSACTIONS_BY_TIME" : "Transaktionen im Zeitverlauf", "TRANSACTIONS_BY_TIME" : "Transaktionen im Zeitverlauf",
"BLOCKS" : "Blöcke", "BLOCKS" : "Blöcke",
"BLOCKSINTERVAL" : "Intervall-S / W-Blöcke", "BLOCKSINTERVAL" : "Intervall-S / W-Blöcke",
"SUPPLY_GROWTH_HOVER" : "Heute Angebotswachstum", "SUPPLY_GROWTH_HOVER" : "Aktuelle Blockbelohnung",
"BOCKS_COUNT_HOVER" : "Heute Block Count", "BOCKS_COUNT_HOVER" : "Heute Block Count",
"TRANSACTION_FEE_HOVER" : "Heute Transaktionsgebühren insgesamt", "TRANSACTION_FEE_HOVER" : "Heute Transaktionsgebühren insgesamt",
"BLOCK_INTERVAL_HOVER" : "Heute Blockintervall in Sekunden", "BLOCK_INTERVAL_HOVER" : "Heute Blockintervall in Sekunden",

View File

@ -44,7 +44,7 @@
"TRANSACTIONS_BY_TIME" : "Transactions over time", "TRANSACTIONS_BY_TIME" : "Transactions over time",
"BLOCKS" : "Blocks", "BLOCKS" : "Blocks",
"BLOCKSINTERVAL" : "Interval B/W Blocks", "BLOCKSINTERVAL" : "Interval B/W Blocks",
"SUPPLY_GROWTH_HOVER" : "Today Supply Growth", "SUPPLY_GROWTH_HOVER" : "Current Block Reward",
"BOCKS_COUNT_HOVER" : "Today Block Count", "BOCKS_COUNT_HOVER" : "Today Block Count",
"TRANSACTION_FEE_HOVER" : "Today Total Transaction Fees", "TRANSACTION_FEE_HOVER" : "Today Total Transaction Fees",
"BLOCK_INTERVAL_HOVER" : "Today Block Interval in Secs", "BLOCK_INTERVAL_HOVER" : "Today Block Interval in Secs",

View File

@ -364,7 +364,8 @@ export class GraphListComponent implements OnInit {
let gaddedreward = res.response.addedreward; let gaddedreward = res.response.addedreward;
let today_date_index = gDate.indexOf(moment(Date.now()).format('YYYY-MM-DD')); let today_date_index = gDate.indexOf(moment(Date.now()).format('YYYY-MM-DD'));
//let today_date_index = gDate.indexOf('2019-08-06'); //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.gg_last = gReward[gReward.length - 1];
this.growthFunc(gDate, gReward, gaddedreward); this.growthFunc(gDate, gReward, gaddedreward);
resolve(); resolve();