use of com.radixdlt.hotstuff.Proposal in project radixdlt by radixdlt.
the class DifferentTimestampsCauseTimeoutTest method mutateProposal.
private Proposal mutateProposal(Proposal p, int destination) {
QuorumCertificate committedQC = p.highQC().highestCommittedQC();
UnverifiedVertex vertex = p.getVertex();
ECDSASignature signature = p.getSignature();
return new Proposal(mutateVertex(vertex, destination), committedQC, signature, Optional.empty());
}
Aggregations