-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
If Dice.playdice() drops into the follow branch before the takeLeadership callback occurs then the program hangs without generating any dice rolls.
This is because the first block of code in follow() has a loop condition that never breaks out.
ie "while (ledgers == null) "
A potential solution is to change the condition to so that one the leadership
"while (ledgers == null && !leader)"
Or is this additional check wrong for some reason?
Metadata
Metadata
Assignees
Labels
No labels