Skip to content

Commit

Permalink
Update contracts/Comet.sol
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Cheng <[email protected]>
  • Loading branch information
cwang25 and kevincheng96 authored Feb 6, 2024
1 parent 7d9dbe5 commit d45e8fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/Comet.sol
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ contract Comet is CometMainInterface {
}

/**
* @dev This will set the flag before the call and revert if it is already set
* @dev Checks that the reentrancy flag is not set and then sets the flag
*/
function nonReentrantBefore() internal {
bytes32 slot = REENTRANCY_GUARD_FLAG_SLOT;
Expand Down

0 comments on commit d45e8fe

Please sign in to comment.