• R/O
  • HTTP
  • SSH
  • HTTPS

vapor: Commit

Golang implemented sidechain for Bytom


Commit MetaInfo

Revisionf34f5196c1a96814e3ddc19498658fe3db3d5bd3 (tree)
Zeit2020-03-21 11:11:45
Autorpaladz <453256728@qq.c...>
Commiterpaladz

Log Message

edit for code review

Ändern Zusammenfassung

Diff

--- a/application/mov/mov_core.go
+++ b/application/mov/mov_core.go
@@ -153,7 +153,7 @@ func (m *Core) ValidateBlock(block *types.Block, verifyResults []*bc.TxVerifyRes
153153
154154 // ValidateTx validate one transaction.
155155 func (m *Core) ValidateTx(tx *types.Tx, verifyResult *bc.TxVerifyResult, blockHeight uint64) error {
156- if blockHeight < m.startBlockHeight {
156+ if blockHeight <= m.startBlockHeight {
157157 return nil
158158 }
159159
Show on old repository browser