|
@ -238,9 +238,9 @@ func decideProposal( |
|
|
) (proposal *types.Proposal, block *types.Block) { |
|
|
) (proposal *types.Proposal, block *types.Block) { |
|
|
t.Helper() |
|
|
t.Helper() |
|
|
|
|
|
|
|
|
cs1.mtx.Lock() |
|
|
|
|
|
block, blockParts, err := cs1.createProposalBlock(ctx) |
|
|
block, blockParts, err := cs1.createProposalBlock(ctx) |
|
|
require.NoError(t, err) |
|
|
require.NoError(t, err) |
|
|
|
|
|
cs1.mtx.Lock() |
|
|
validRound := cs1.ValidRound |
|
|
validRound := cs1.ValidRound |
|
|
chainID := cs1.state.ChainID |
|
|
chainID := cs1.state.ChainID |
|
|
cs1.mtx.Unlock() |
|
|
cs1.mtx.Unlock() |
|
|