OSDN Git Service

fix bug
[bytom/vapor.git] / test / bench_blockchain_test.go
index abdb2e0..d3827f2 100644 (file)
@@ -156,7 +156,7 @@ func InsertChain(chain *protocol.Chain, txPool *protocol.TxPool, txs []*types.Tx
                }
        }
 
-       block, err := mining.NewBlockTemplate(chain, txPool, nil, nil)
+       block, err := mining.NewBlockTemplate(chain, txPool, nil, nil, nil, uint64(time.Now().Unix()))
        if err != nil {
                return err
        }