From 91020b2b63e83dc0711b7ae690d5347ceb13d170 Mon Sep 17 00:00:00 2001 From: Alan Orwick Date: Fri, 26 Aug 2022 11:58:44 -0500 Subject: [PATCH] chain_makers.go: update params --- core/chain_makers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/chain_makers.go b/core/chain_makers.go index 0552d668a6..0413d4e6bf 100644 --- a/core/chain_makers.go +++ b/core/chain_makers.go @@ -263,7 +263,7 @@ func GenerateKnot(config *params.ChainConfig, parent *types.Block, engine consen log.Println("Block mined has an invalid order") } - if context == 0 { + if context == params.PRIME { log.Println("PRIME:", block.Header().Location, block.Header().Number, block.Header().Hash()) }