console removed

This commit is contained in:
raja.blaze 2019-08-08 16:05:28 +05:30
parent 07dea9878d
commit 9c9f69ce8a
2 changed files with 6 additions and 6 deletions

View File

@ -173,7 +173,7 @@ export class GraphListComponent implements OnInit {
); );
}); });
} }
Transactiondoublelinechartreq(fromDate = '', ToDate = '', interval = '') { Transactiondoublelinechartreq(fromDate = '', ToDate = '', interval = '') {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
let params = new HttpParams(); let params = new HttpParams();
@ -285,7 +285,7 @@ export class GraphListComponent implements OnInit {
let ProgPow = res.response.ProgPow; let ProgPow = res.response.ProgPow;
let Cuckoo = res.response.Cuckoo; let Cuckoo = res.response.Cuckoo;
let RandomX = res.response.RandomX; let RandomX = res.response.RandomX;
let ProgPowper = res.response.ProgPowper; let ProgPowper = res.response.ProgPowper;
let Cuckooper = res.response.Cuckooper; let Cuckooper = res.response.Cuckooper;
let RandomXper = res.response.RandomXper; let RandomXper = res.response.RandomXper;
@ -405,7 +405,7 @@ export class GraphListComponent implements OnInit {
let tickformat = res.response.tickFormat; let tickformat = res.response.tickFormat;
this.lg_last = this.lg_last =
TargetDifficulty[TargetDifficulty.length - 1]; TargetDifficulty[TargetDifficulty.length - 1];
switch(difftype){ switch(difftype){
case 'total': case 'total':
this.totaldifficultyChartFunc( this.totaldifficultyChartFunc(
@ -450,7 +450,7 @@ export class GraphListComponent implements OnInit {
res => { res => {
if (res['status'] == 200) { if (res['status'] == 200) {
let DifficultychartDate = res.response.Date; let DifficultychartDate = res.response.Date;
let BlocksChartDate = res.response.blockDate; let BlocksChartDate = res.response.blockDate;
let Blockval = res.response.Blocks; let Blockval = res.response.Blocks;
this.brg_last = Blockval[Blockval.length - 1]; this.brg_last = Blockval[Blockval.length - 1];
this.totalBlocksFunc(BlocksChartDate, Blockval); this.totalBlocksFunc(BlocksChartDate, Blockval);
@ -463,7 +463,7 @@ export class GraphListComponent implements OnInit {
} }
difficultyChartFunc(DifficultychartDate, TargetDifficulty, Type, range, tickformat) { difficultyChartFunc(DifficultychartDate, TargetDifficulty, Type, range, tickformat) {
console.log('range rangerangerange@@@@@@@22444',range); // console.log('range rangerangerange',range);
this.linearGraphData = { this.linearGraphData = {
data: [ data: [
{ {

View File

@ -50,7 +50,7 @@ export class LatestblocksComponent implements OnInit {
this.hashvalues = res.response.BlockchainBlockResult; this.hashvalues = res.response.BlockchainBlockResult;
if(CurrentPage == 1){ if(CurrentPage == 1){
this.lastblock = res.response.BlockchainBlockResult[0].blockchain_block_height; this.lastblock = res.response.BlockchainBlockResult[0].blockchain_block_height;
console.log(this.lastblock); //console.log(this.lastblock);
} }
} }