It's a small thing and subject to discussion but currently if nobody advances the round, it eats into the possible time of the next round. This could lead to a situation where one round of a 7-round-ROSCA lasts for 8 days, but the next round only lasts 6.
I understand the way around it now is to allow anyone to advance the round, but we've only opened this up to the foreperson on the FE.
To attempt to avoid throwing if startRound is called too early, we could store the nextRoundStartTime in a variable, and look it up before the user is able to call startRound from the FE.
It's a small thing and subject to discussion but currently if nobody advances the round, it eats into the possible time of the next round. This could lead to a situation where one round of a 7-round-ROSCA lasts for 8 days, but the next round only lasts 6.
I understand the way around it now is to allow anyone to advance the round, but we've only opened this up to the foreperson on the FE.
To attempt to avoid throwing if startRound is called too early, we could store the
nextRoundStartTimein a variable, and look it up before the user is able to call startRound from the FE.