From 305b44ac324e36b3d4a3de2c25a468a86d12b38e Mon Sep 17 00:00:00 2001 From: ragnar Date: Thu, 8 Feb 2024 16:26:56 +0100 Subject: [PATCH] typo --- .../jvm/src/main/scala/replication/papoctokens/Tokens.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/Example Replication/jvm/src/main/scala/replication/papoctokens/Tokens.scala b/Modules/Example Replication/jvm/src/main/scala/replication/papoctokens/Tokens.scala index 189ece717..488b9a5a0 100644 --- a/Modules/Example Replication/jvm/src/main/scala/replication/papoctokens/Tokens.scala +++ b/Modules/Example Replication/jvm/src/main/scala/replication/papoctokens/Tokens.scala @@ -77,9 +77,9 @@ case class Voting(rounds: Epoch[ReplicatedSet[Vote]]) { val (id, count) = leadingCount if checkIfMajorityPossible(count) then voteFor(id) - else Dotted(forceRlease) + else Dotted(forceRelease) - def forceRlease(using ReplicaId): Voting = + def forceRelease(using ReplicaId): Voting = Voting(Epoch(rounds.counter + 1, ReplicatedSet.empty)) def voteFor(uid: Uid)(using ReplicaId, Dots): Dotted[Voting] =