From fae953e04b5a9c2054671d88c4ecdb4b24647549 Mon Sep 17 00:00:00 2001 From: shunmugam Date: Wed, 18 Sep 2019 10:41:58 +0530 Subject: [PATCH] Style changes --- server.ts | 4 ++-- src/app/view/home/latestblocks/latestblocks.component.html | 2 +- src/assets/css/style.css | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/server.ts b/server.ts index 0e98753..77da8f6 100644 --- a/server.ts +++ b/server.ts @@ -130,7 +130,7 @@ try { let result; //500 if(option == "circulating") result= blockDetails.coin_existence * 100000000; - if(option == "reward") + else if(option == "reward") result= blockDetails.currentReward * 100000000; else if(option == "getblockcount") result= blockDetails.block_height; @@ -320,7 +320,7 @@ console.log(__dirname); console.log(`Node Express server listening on http://localhost:${PORT}`); }); - cron.schedule('* * * * * *', () => { + cron.schedule('*/30 * * * * *', () => { universalGetLatestBlockDetails('Testnet'); }); var interval; diff --git a/src/app/view/home/latestblocks/latestblocks.component.html b/src/app/view/home/latestblocks/latestblocks.component.html index 54f353b..45c4ab5 100644 --- a/src/app/view/home/latestblocks/latestblocks.component.html +++ b/src/app/view/home/latestblocks/latestblocks.component.html @@ -174,7 +174,7 @@

Peers - {{ + {{ peers.length | number }}

diff --git a/src/assets/css/style.css b/src/assets/css/style.css index df28aa9..cfc38b3 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -250,6 +250,7 @@ a:focus { border: 1px solid #BF9B30; transition: all 0.3s linear; } +.txn_peers{margin-top: 2px;} .blocks:hover .txn_count { background: #f3f4f2; color: #BF9B30;