Round status on dashboard to match title
This commit is contained in:
@ -490,7 +490,7 @@ async function loadStatus() {
|
||||
|
||||
html += '<p>Blocks: ' + blocks + ' ' + pruned + '</p>';
|
||||
html += '<div class="progress-wrap"><div class="progress-bar" id="syncbar"></div></div>';
|
||||
html += '<p><small>Sync progress: ' + progress.toFixed(2) + '%';
|
||||
html += '<p><small>Sync progress: ' + progress.toFixed(1) + '%';
|
||||
if (ibd) {
|
||||
if (etaSeconds && isFinite(etaSeconds) && etaSeconds > 0) {
|
||||
const etaDate = new Date(Date.now() + etaSeconds * 1000);
|
||||
|
||||
Reference in New Issue
Block a user