Skip to content

Commit

Permalink
Rename waitForSignPeriod to minimumManualSignPeriod
Browse files Browse the repository at this point in the history
  • Loading branch information
banciur committed Apr 19, 2017
1 parent f15b41f commit 45332b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/ESOP.sol
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ contract ESOP is ESOPTypes, CodeUpdateable, TimeSource {
// root of immutable root of trust pointing to given ESOP implementation
address public rootOfTrust;
// default period for employee signature
uint32 constant public waitForSignPeriod = 2 weeks;
uint32 constant public minimumManualSignPeriod = 2 weeks;

// STATE
// poolOptions that remain to be assigned
Expand Down Expand Up @@ -183,7 +183,7 @@ contract ESOP is ESOPTypes, CodeUpdateable, TimeSource {
if(employees.hasEmployee(e)) {
return _logerror(ReturnCodes.InvalidEmployeeState);
}
if (timeToSign < currentTime() + waitForSignPeriod) {
if (timeToSign < currentTime() + minimumManualSignPeriod) {
return _logerror(ReturnCodes.TooLate);
}
if (poolCleanup) {
Expand Down Expand Up @@ -328,7 +328,7 @@ contract ESOP is ESOPTypes, CodeUpdateable, TimeSource {
returns (ReturnCodes)
{
uint32 offerMadeAt = currentTime();
if (converter.getExercisePeriodDeadline() - offerMadeAt < waitForSignPeriod) {
if (converter.getExercisePeriodDeadline() - offerMadeAt < minimumManualSignPeriod) {
return _logerror(ReturnCodes.TooLate);
}
// exerciseOptions must be callable by us
Expand Down

0 comments on commit 45332b9

Please sign in to comment.