use of com.radixdlt.hotstuff.TimestampedECDSASignature in project radixdlt by radixdlt.
the class DifferentTimestampsCauseTimeoutTest method mutateTimestampedSignature.
private TimestampedECDSASignature mutateTimestampedSignature(TimestampedECDSASignature signature, int destination) {
long timestamp = signature.timestamp();
ECDSASignature sig = signature.signature();
return TimestampedECDSASignature.from(timestamp + destination, sig);
}
Aggregations