OSDN Git Service
(root)
/
bytom
/
vapor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b10a18
)
fix init mov state (#492)
author
Poseidon
<shenao.78@163.com>
Wed, 19 Feb 2020 06:43:30 +0000
(14:43 +0800)
committer
GitHub
<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
patch
|
blob
|
history
diff --git
a/application/mov/mov_core.go
b/application/mov/mov_core.go
index
d2a0d95
..
376f9f2
100644
(file)
--- a/
application/mov/mov_core.go
+++ b/
application/mov/mov_core.go
@@
-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 {