Browse Source

fixups

pull/7983/head
William Banfield 3 years ago
parent
commit
844f1075fb
2 changed files with 2 additions and 4 deletions
  1. +1
    -3
      internal/state/helpers_test.go
  2. +1
    -1
      node/node.go

+ 1
- 3
internal/state/helpers_test.go 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
node/node.go 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 {


Loading…
Cancel
Save