This commit is contained in:
William Banfield
2022-03-01 14:58:51 -05:00
parent d31d222e83
commit 844f1075fb
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -185,9 +185,7 @@ func makeHeaderPartsResponsesValPowerChange(
block, err := sf.MakeBlock(state, state.LastBlockHeight+1, new(types.Commit))
require.NoError(t, err)
abciResponses := &tmstate.ABCIResponses{
FinalizeBlock: &abci.ResponseFinalizeBlock{},
}
abciResponses := &tmstate.ABCIResponses{}
// If the pubkey is new, remove the old and add the new.
_, val := state.NextValidators.GetByIndex(0)
+1 -1
View File
@@ -166,7 +166,7 @@ func makeNode(
// EventBus and IndexerService must be started before the handshake because
// we might need to index the txs of the replayed block as this might not have happened
// when the node stopped last time (i.e. the node stopped or crqashed after it saved the block
// when the node stopped last time (i.e. the node stopped or crashed after it saved the block
// but before it indexed the txs)
eventBus := eventbus.NewDefault(logger.With("module", "events"))
if err := eventBus.Start(ctx); err != nil {