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
|
@ -60,7 +60,7 @@ func newBlock(cfg config.ProtocolConfiguration, index uint32, prev util.Uint256,
|
|||
Base: block.Base{
|
||||
Version: 0,
|
||||
PrevHash: prev,
|
||||
Timestamp: uint64(time.Now().UTC().Unix()) + uint64(index),
|
||||
Timestamp: uint64(time.Now().UTC().Unix())*1000 + uint64(index),
|
||||
Index: index,
|
||||
NextConsensus: witness.ScriptHash(),
|
||||
Script: witness,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue