diff --git a/domain/dagconfig/params.go b/domain/dagconfig/params.go index 867606224..b26e47069 100644 --- a/domain/dagconfig/params.go +++ b/domain/dagconfig/params.go @@ -32,8 +32,8 @@ var ( mainPowMax = new(big.Int).Sub(new(big.Int).Lsh(bigOne, 255), bigOne) // testnetPowMax is the highest proof of work value a Kaspa block - // can have for the test network. It is the value 2^239 - 1. - testnetPowMax = new(big.Int).Sub(new(big.Int).Lsh(bigOne, 239), bigOne) + // can have for the test network. It is the value 2^255 - 1. + testnetPowMax = new(big.Int).Sub(new(big.Int).Lsh(bigOne, 255), bigOne) // simnetPowMax is the highest proof of work value a Kaspa block // can have for the simulation test network. It is the value 2^255 - 1. @@ -41,8 +41,8 @@ var ( // devnetPowMax is the highest proof of work value a Kaspa block // can have for the development network. It is the value - // 2^239 - 1. - devnetPowMax = new(big.Int).Sub(new(big.Int).Lsh(bigOne, 239), bigOne) + // 2^255 - 1. + devnetPowMax = new(big.Int).Sub(new(big.Int).Lsh(bigOne, 255), bigOne) ) // KType defines the size of GHOSTDAG consensus algorithm K parameter.