Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rmgk committed Feb 13, 2024
1 parent b3bc20a commit 305b44a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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] =
Expand Down

0 comments on commit 305b44a

Please sign in to comment.