Skip to content

Commit

Permalink
fix replay.go
Browse files Browse the repository at this point in the history
  • Loading branch information
chengzhinei committed Aug 31, 2021
1 parent 4e10ce2 commit 2cb7df4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/exchaind/replay.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func doReplay(ctx *server.Context, state sm.State, stateStoreDB dbm.DB,
meta := originBlockStore.LoadBlockMeta(height)

blockExec := sm.NewBlockExecutor(stateStoreDB, ctx.Logger, proxyApp.Consensus(), mock.Mempool{}, sm.MockEvidencePool{})
state, _, err = blockExec.ApplyBlock(state, meta.BlockID, block)
state, _, err = blockExec.ApplyBlock(state, meta.BlockID, block, &types.Deltas{})
panicError(err)
}
}

0 comments on commit 2cb7df4

Please sign in to comment.