public Prepare createPrepare(final ConsensusRoundIdentifier roundIdentifier, final Hash digest) {

    final PreparePayload payload = new PreparePayload(roundIdentifier, digest);

    return new Prepare(createSignedMessage(payload));
  }
Create prepare.

@param roundIdentifier the round identifier
@param digest the digest
@return the prepare
consensus/ibft/src/main/java/org/hyperledger/besu/consensus/ibft/payload/MessageFactory.java