• R/O
  • HTTP
  • SSH
  • HTTPS

vapor: 提交

Golang implemented sidechain for Bytom


Commit MetaInfo

修订版1ebcfc9d3de3696986e8aa8b78250346a0bd97eb (tree)
时间2020-04-02 17:55:34
作者shenao78 <shenao.78@163....>
Commitershenao78

Log Message

bug fix

更改概述

差异

--- a/application/mov/mov_core.go
+++ b/application/mov/mov_core.go
@@ -57,11 +57,6 @@ func (m *Core) ApplyBlock(block *types.Block) error {
5757 return nil
5858 }
5959
60- if _, _, err := m.ChainStatus(); err == protocol.ErrNotInitSubProtocolChainStatus && block.Height == m.startBlockHeight {
61- blockHash := block.Hash()
62- return m.InitChainStatus(&blockHash)
63- }
64-
6560 if err := m.validateMatchedTxSequence(block.Transactions); err != nil {
6661 return err
6762 }
Show on old repository browser