diff --git a/consensus/replay.go b/consensus/replay.go index 8d7233876a8..794f870d030 100644 --- a/consensus/replay.go +++ b/consensus/replay.go @@ -423,7 +423,6 @@ func (h *Handshaker) replayBlocks(state sm.State, proxyApp proxy.AppConns, appBl for i := appBlockHeight + 1; i <= finalBlock; i++ { h.logger.Info("Applying block", "height", i) block := h.store.LoadBlock(i) - // Extra check to ensure the app was not changed in a way it shouldn't have. if len(appHash) > 0 { assertAppHashEqualsOneFromBlock(appHash, block) diff --git a/consensus/replay_test.go b/consensus/replay_test.go index 92ed47a8094..724dd056bb7 100644 --- a/consensus/replay_test.go +++ b/consensus/replay_test.go @@ -647,7 +647,7 @@ func testHandshakeReplay(t *testing.T, config *cfg.Config, nBlocks int, mode uin // now start the app using the handshake - it should sync genDoc, _ := sm.MakeGenesisDocFromFile(config.GenesisFile()) handshaker := NewHandshaker(stateDB, state, store, genDoc) - proxyApp = proxy.NewAppConns(clientCreator2) + proxyApp := proxy.NewAppConns(clientCreator2) if err := proxyApp.Start(); err != nil { t.Fatalf("Error starting proxy app connections: %v", err) }