Skip to content

Commit e47d793

Browse files
fix(dpos2.0): set default value of DPoSV2StartHeight
1 parent b0c89d6 commit e47d793

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

config/params.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package config
22

3+
import "math"
4+
35
var (
46
regnet = ConfigFile{
57
ConfigFile: Configuration{
@@ -229,14 +231,14 @@ var (
229231
},
230232
CRClaimDPOSNodeStartHeight: 751400,
231233
NewP2PProtocolVersionHeight: 751400,
232-
DPOSNodeCrossChainHeight: 2000000, // todo fix me
234+
DPOSNodeCrossChainHeight: math.MaxUint32,
233235
NewCrossChainTransactionHeight: 1032840,
234236
ReturnDepositTransactionFee: 100,
235237
ProcessInvalidWithdrawHeight: 1032840,
236238
ReturnCrossChainCoinStartHeight: 1032840,
237-
SchnorrStartHeight: 2000000, // todo fix me
238-
DPoSV2StartHeight: 2000000, // todo fix me
239-
NFTStartHeight: 100, // todo fix me
239+
SchnorrStartHeight: math.MaxUint32,
240+
DPoSV2StartHeight: 1405000,
241+
NFTStartHeight: 1405000,
240242
},
241243
}
242244
)

0 commit comments

Comments
 (0)