• R/O
  • HTTP
  • SSH
  • HTTPS

vapor: 提交

Golang implemented sidechain for Bytom


Commit MetaInfo

修订版f34f5196c1a96814e3ddc19498658fe3db3d5bd3 (tree)
时间2020-03-21 11:11:45
作者paladz <453256728@qq.c...>
Commiterpaladz

Log Message

edit for code review

更改概述

差异

--- 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