diff --git a/internal/simulation/main.go b/internal/simulation/main.go index 21bd57b3..e4587935 100644 --- a/internal/simulation/main.go +++ b/internal/simulation/main.go @@ -229,7 +229,7 @@ func (n *simNode) ProcessBlock(b dbft.Block[crypto.Uint256, crypto.Uint160]) { n.lastHash = b.Hash() } -// VerifyPrepareRequest verifies that payload was received from a good validator. +// VerifyPayload verifies that payload was received from a good validator. func (n *simNode) VerifyPayload(p dbft.ConsensusPayload[crypto.Uint256, crypto.Uint160]) error { if *blocked != -1 && p.ValidatorIndex() == uint16(*blocked) { return fmt.Errorf("message from blocked validator: %d", *blocked)