Merge branch 'master' of https://gitlab.com/epic-tech/explorer2.epic.tech-angular8
This commit is contained in:
commit
4fc54b17f3
@ -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);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user