threshold-network / merkle-distribution

Threshold Network rewards generation and distribution
https://threshold.network
1 stars 6 forks source link

Fix ongoing rewards miscalculation #26

Closed manumonti closed 2 years ago

manumonti commented 2 years ago

The operator's confirmation timestamp has not been properly taken into account: in those epochs in which the operator has not been yet confirmed, the earned rewards should be zero. However, up to now, these epochs were also generating ongoing rewards.