Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions contracts/modules/VestedOptions.sol
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ contract VestedOptions is STModuleBase {
Option storage o = _saveOption(_id, _price, _iso);

uint32 _total;
uint256[2] memory _max = [t.length - 1, uint256(expirationMonths)];
uint256[2] memory _max = [t.length - 1, uint256(expirationMonths)];

for (uint256 i; i < _amount.length; i++) {
require(_monthsToVest[i] < _max[1]); // dev: vest > expiration
Expand Down Expand Up @@ -577,7 +577,7 @@ contract VestedOptions is STModuleBase {
function _accellerateOrTerminate(
OptionBase storage b,
uint32 _price,
uint32 _gracePeriod
uint32 _gracePeriod
)
internal
returns (uint32 _total)
Expand Down
Loading