You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contracts/FlyoverDiscovery.sol
+11-8Lines changed: 11 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -85,13 +85,16 @@ contract FlyoverDiscovery is
85
85
86
86
/// @notice Resigns the caller as a Liquidity Provider
87
87
/// @dev Reverts if the caller is not registered or already resigned
88
-
/// @dev Resignation is permanent and cannot be undone. To recover the collateral, the liquidity provider must go through the resignation process, if that happens and the same account wishes to register again, that would result in a different provider ID.
88
+
/// @dev Resignation is permanent and cannot be undone. To recover the collateral, the liquidity provider must go
89
+
/// through the resignation process, if that happens and the same account wishes to register again, that would
90
+
/// result in a different provider ID.
89
91
function resign() externaloverride {
90
92
address providerAddress =msg.sender;
91
-
if (_resignationBlockNum[providerAddress] !=0) revertAlreadyResigned(providerAddress);
0 commit comments