mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-27 18:34:39 +00:00
update panic message around process proposal
This commit is contained in:
@@ -1516,11 +1516,9 @@ func (cs *State) defaultDoPrevote(ctx context.Context, height int64, round int32
|
|||||||
liveness properties. Please see `PrepareProosal`-`ProcessProposal` coherence and determinism
|
liveness properties. Please see `PrepareProosal`-`ProcessProposal` coherence and determinism
|
||||||
properties in the ABCI++ specification.
|
properties in the ABCI++ specification.
|
||||||
*/
|
*/
|
||||||
stateMachineValidBlock, err := cs.blockExec.ProcessProposal(ctx, cs.ProposalBlock, cs.state.InitialHeight)
|
stateMachineValidBlock, err := cs.blockExec.ProcessProposal(ctx, cs.ProposalBlock, cs.state)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(fmt.Sprintf(
|
panic(fmt.Sprintf("ProcessProposal: %v", err))
|
||||||
"state machine returned an error (%v) when calling ProcessProposal", err,
|
|
||||||
))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Vote nil if the Application rejected the block
|
// Vote nil if the Application rejected the block
|
||||||
|
|||||||
Reference in New Issue
Block a user