This commit is contained in:
SuriyaR 2019-08-09 13:13:11 +05:30
commit 4fc54b17f3

View File

@ -64,11 +64,11 @@ export class LatestblocksComponent implements OnInit {
this.blockdetails = response; this.blockdetails = response;
//console.log(this.blockdetails); //console.log(this.blockdetails);
if (this.lastblock != this.blockdetails.block_height) { if (this.lastblock != this.blockdetails.block_height) {
console.log('Create'); //console.log('Create');
this.createBlock(); this.createBlock();
} }
this.lastblock = this.blockdetails.block_height; this.lastblock = this.blockdetails.block_height;
console.log(this.lastblock); //console.log(this.lastblock);
}); });
} }