Commit def4afbb authored by vipwzw's avatar vipwzw

auto ci

parent 6a778070
...@@ -94,7 +94,7 @@ func (s *suiteParaClient) initEnv(cfg *types.Config, sub *types.ConfigSubModule) ...@@ -94,7 +94,7 @@ func (s *suiteParaClient) initEnv(cfg *types.Config, sub *types.ConfigSubModule)
s.createBlock() s.createBlock()
} }
func (s *suiteParaClient) createTempBlock(){ func (s *suiteParaClient) createTempBlock() {
var parentHash []byte var parentHash []byte
for i := 0; i < 3; i++ { for i := 0; i < 3; i++ {
block := &types.Block{ block := &types.Block{
...@@ -194,7 +194,7 @@ func (s *suiteParaClient) getParaMainBlock(height int64, BlockTime int64) *types ...@@ -194,7 +194,7 @@ func (s *suiteParaClient) getParaMainBlock(height int64, BlockTime int64) *types
Seq: &types.BlockSequence{Hash: s.mainBlockList[height-1].HashByForkHeight(1), Type: addAct}, Seq: &types.BlockSequence{Hash: s.mainBlockList[height-1].HashByForkHeight(1), Type: addAct},
Detail: &types.BlockDetail{ Detail: &types.BlockDetail{
Block: &types.Block{ Block: &types.Block{
ParentHash: s.mainBlockList[height - 1].ParentHash, ParentHash: s.mainBlockList[height-1].ParentHash,
Height: height, Height: height,
BlockTime: BlockTime, BlockTime: BlockTime,
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment