Skip to content

Commit 27ebbca

Browse files
committed
fix(control): convert keys to bigints
1 parent 825fda3 commit 27ebbca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/control_node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function main () {
3333
let namada = service.namadas[0n]
3434
// Find the next version to run
3535
for (const hardfork of Object.keys(service.namadas)) {
36-
if (block > hardfork) {
36+
if (BigInt(block) > BigInt(hardfork)) {
3737
namada = service.namadas[hardfork]
3838
console.log('🟠 Switching over to', namada)
3939
break

0 commit comments

Comments
 (0)