Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_setCollateralPaused #23

Closed
wants to merge 4 commits into from
Closed

_setCollateralPaused #23

wants to merge 4 commits into from

Conversation

ohone
Copy link

@ohone ohone commented Jan 30, 2022

#19

lacks tests

@@ -335,7 +335,12 @@ contract Comptroller is ComptrollerV5Storage, ComptrollerInterface, ComptrollerE
return uint(Error.MARKET_NOT_LISTED);
}

if (!markets[cToken].accountMembership[borrower]) {
if (checkMembership(borrower, CToken(cToken))){
if (CollateralPaued(cToken)){
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be CollateralPaused()?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're not wrong

@ohone ohone closed this Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants