From 0c09c859b50eba4ae525dbc5cd5a0b3cd587ef1c Mon Sep 17 00:00:00 2001 From: Ori Newman Date: Wed, 25 Jul 2018 12:16:57 +0300 Subject: [PATCH] [DEV-31] fix nonce, bits, and timestamp comments --- blockdag/validate_test.go | 4 ++-- dagconfig/genesis.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/blockdag/validate_test.go b/blockdag/validate_test.go index 546f04948..221788ddf 100644 --- a/blockdag/validate_test.go +++ b/blockdag/validate_test.go @@ -255,9 +255,9 @@ var Block100000 = wire.MsgBlock{ 0x6f, 0xff, 0xfb, 0xb7, 0xdc, 0x39, 0x9d, 0x76, 0x8d, 0xb0, 0xe1, 0x9c, 0x2e, 0x6d, 0x22, 0xd9, }), // f3e94742aca4b5ef85488dc37c06c3282295ffec960994b2c0d5ac2a25a95766 - Timestamp: time.Unix(0x5b50aa0e, 0), // 2018-06-20 08:32:43 +0000 UTC + Timestamp: time.Unix(0x5b50aa0e, 0), // 2018-07-19 15:11:10 +0000 UTC Bits: 0x1e00ffff, // 503382015 - Nonce: 0x800c2a77, // 714047 + Nonce: 0x800c2a77, // 2148280951 }, Transactions: []*wire.MsgTx{ { diff --git a/dagconfig/genesis.go b/dagconfig/genesis.go index be4010b49..b1e760f57 100644 --- a/dagconfig/genesis.go +++ b/dagconfig/genesis.go @@ -169,9 +169,9 @@ var simNetGenesisBlock = wire.MsgBlock{ NumPrevBlocks: 0, PrevBlocks: []daghash.Hash{}, MerkleRoot: simNetGenesisMerkleRoot, // 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b - Timestamp: time.Unix(0x5b50a002, 0), // 2018-06-19 09:07:56 +0000 UTC + Timestamp: time.Unix(0x5b50a002, 0), // 2018-07-19 14:28:18 +0000 UTC Bits: 0x207fffff, // 545259519 [7fffff0000000000000000000000000000000000000000000000000000000000] - Nonce: 0x5ffffffd, // 2684354555 + Nonce: 0x5ffffffd, // 1610612733 }, Transactions: []*wire.MsgTx{&genesisCoinbaseTx}, }