OSDN Git Service

fix init mov state (#492)
authorPoseidon <shenao.78@163.com>
Wed, 19 Feb 2020 06:43:30 +0000 (14:43 +0800)
committerGitHub <noreply@github.com>
Wed, 19 Feb 2020 06:43:30 +0000 (14:43 +0800)
* fix init mov state

* remove Junk files

application/mov/mov_core.go

index d2a0d95..376f9f2 100644 (file)
@@ -53,6 +53,9 @@ func (m *MovCore) ApplyBlock(block *types.Block) error {
                if err := m.movStore.InitDBState(block.Height, &blockHash); err != nil {
                        return err
                }
+
+               // the next block can send orders
+               return nil
        }
 
        if err := m.validateMatchedTxSequence(block.Transactions); err != nil {