Golang implemented sidechain for Bytom
リビジョン | f34f5196c1a96814e3ddc19498658fe3db3d5bd3 (tree) |
---|---|
日時 | 2020-03-21 11:11:45 |
作者 | paladz <453256728@qq.c...> |
コミッター | paladz |
edit for code review
@@ -153,7 +153,7 @@ func (m *Core) ValidateBlock(block *types.Block, verifyResults []*bc.TxVerifyRes | ||
153 | 153 | |
154 | 154 | // ValidateTx validate one transaction. |
155 | 155 | func (m *Core) ValidateTx(tx *types.Tx, verifyResult *bc.TxVerifyResult, blockHeight uint64) error { |
156 | - if blockHeight < m.startBlockHeight { | |
156 | + if blockHeight <= m.startBlockHeight { | |
157 | 157 | return nil |
158 | 158 | } |
159 | 159 |