Skip to content

Commit

Permalink
Code423n4 #122, correct refundTime in case 6
Browse files Browse the repository at this point in the history
  • Loading branch information
Splidge committed Jun 21, 2021
1 parent eb344de commit 457cc78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/RCMarket.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ contract RCMarket is Initializable, NativeMetaTransaction, IRCMarket {
// market locked before user foreclosed
_timeOfThisCollection = marketLockingTime;
_newOwner = false;
_refundTime = block.timestamp - marketLockingTime;
_refundTime = _timeUserForeclosed - marketLockingTime;
}
} else if (_foreclosed && _limitHit && !_marketLocked) {
// CASE 7
Expand Down

0 comments on commit 457cc78

Please sign in to comment.