Skip to content

Commit

Permalink
Other JS Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
harryjph committed Jul 11, 2019
1 parent 71c0368 commit ffc368e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/html/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function getPoolInfo() {
document.getElementById("poolAccount").innerHTML = formatMinerName(response.poolAccountRS, response.poolAccount, response.poolAccount, true);
document.getElementById("nAvg").innerText = response.nAvg;
document.getElementById("nMin").innerText = response.nMin;
maxSubmissions = response.nAvg + response.nMin;
maxSubmissions = response.nAvg + response.processLag;
document.getElementById("maxDeadline").innerText = response.maxDeadline;
document.getElementById("processLag").innerText = response.processLag + " Blocks";
document.getElementById("feeRecipient").innerText = response.feeRecipientRS;
Expand Down Expand Up @@ -298,7 +298,7 @@ function getWonBlocks() {
let height = escapeHtml(wonBlock.height);
let id = escapeHtml(wonBlock.id);
let reward = escapeHtml(wonBlock.reward);
let minerName = formatMinerName(wonBlock.generator, wonBlock.generatorRS, null, true);
let minerName = formatMinerName(wonBlock.generatorRS, wonBlock.generator, null, true);
table.innerHTML += "<tr><td>"+height+"</td><td>"+id+"</td><td>"+minerName+"</td><td>"+reward+"</td></tr>";
}
});
Expand Down

0 comments on commit ffc368e

Please sign in to comment.