core: update genesis block to store timestamp in ms
This commit is contained in:
parent
35b30ccfdf
commit
f63b286c35
4 changed files with 3 additions and 3 deletions
|
@ -46,7 +46,7 @@ func createGenesisBlock(cfg config.ProtocolConfiguration) (*block.Block, error)
|
|||
base := block.Base{
|
||||
Version: 0,
|
||||
PrevHash: util.Uint256{},
|
||||
Timestamp: uint64(time.Date(2016, 7, 15, 15, 8, 21, 0, time.UTC).Unix()),
|
||||
Timestamp: uint64(time.Date(2016, 7, 15, 15, 8, 21, 0, time.UTC).Unix()) * 1000, // Milliseconds.
|
||||
Index: 0,
|
||||
NextConsensus: nextConsensus,
|
||||
Script: transaction.Witness{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue