Add proper timestamping and checking of timestamps

This commit is contained in:
whyrusleeping
2019-08-29 19:59:54 -07:00
parent 55abcaa7d0
commit b69557251c
8 changed files with 42 additions and 10 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ func MakeGenesisMem(out io.Writer) func(bs dtypes.ChainBlockstore, w *wallet.Wal
w: types.NewInt(100000),
}
b, err := gen.MakeGenesisBlock(bs, alloc, gmc)
b, err := gen.MakeGenesisBlock(bs, alloc, gmc, 100000)
if err != nil {
return nil, err
}
@@ -76,7 +76,7 @@ func MakeGenesis(outFile string) func(bs dtypes.ChainBlockstore, w *wallet.Walle
minerAddr: types.NewInt(50000000),
}
b, err := gen.MakeGenesisBlock(bs, addrs, gmc)
b, err := gen.MakeGenesisBlock(bs, addrs, gmc, 100000)
if err != nil {
return nil, err
}