Submitted by gpersoon
The function payout of RCTreasury.sol doesnt undo the isForeclosed state of a user.
This would be possible because with a payout a user will receive funds so he can lose his isForeclosed status.
For example the function refundUser doesnt check and update the isForeclosed status in RCTreasury on L429 and line 447.
Recommend checking and updating the isForeclosed state in the payout function.
Splidge (Reality Cards) confirmed and suggested upgrading from 0 to 2 severity:
dmvt (Judge) agreed with sponsor and upgraded from 0 to 2 severity:
Splidge (Reality Cards) resolved:
