Skip to content

Commit

Permalink
Fix status page upcoming fork readiness chart
Browse files Browse the repository at this point in the history
  • Loading branch information
ziogaschr committed Dec 7, 2023
1 parent bd42282 commit 742788b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions store/nodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export const actions = {
}

const parseNodes = function (nodes) {
const [upcomingForkBlock, upcomingForkName] = getUpcomingFork()
const [, upcomingForkName] = getUpcomingFork()

const clients = {}
const clientsForkAdoption = {
Expand Down Expand Up @@ -192,7 +192,7 @@ const parseNodes = function (nodes) {
let upgradedForHarfork = false
let upcomingKey = 'Not Ready'
if (
node.protocols.eth.forkId.next === upcomingForkBlock ||
node.protocols.eth.forkId.nextTag === upcomingForkName ||
(node.protocols.eth.forkId.tag === upcomingForkName &&
node.protocols.eth.forkId.next === 0)
) {
Expand Down

0 comments on commit 742788b

Please sign in to comment.