Closed bernardoaraujor closed 1 year ago
adds unit tests to clear_abandoned_match
clear_abandoned_match
I had to refine the implementation of Match::clear_abandoned_bet() because I found an edge case where if the bets were too small, the janitor incentive was smaller than the minimum_balance. In that case, janitor gets the full prize now.
Match::clear_abandoned_bet()
minimum_balance
adds unit tests to
clear_abandoned_match
I had to refine the implementation of
Match::clear_abandoned_bet()
because I found an edge case where if the bets were too small, the janitor incentive was smaller than theminimum_balance
. In that case, janitor gets the full prize now.