• R/O
  • HTTP
  • SSH
  • HTTPS

vapor: コミット

Golang implemented sidechain for Bytom


コミットメタ情報

リビジョンf34f5196c1a96814e3ddc19498658fe3db3d5bd3 (tree)
日時2020-03-21 11:11:45
作者paladz <453256728@qq.c...>
コミッターpaladz

ログメッセージ

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
旧リポジトリブラウザで表示