Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Commit

Permalink
solidity v -> 0.4.11, use isOwner in modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
naterush committed Aug 1, 2017
1 parent 2021bcb commit fa5bc58
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion contracts/IdentityFactory.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.4.11;
pragma solidity 0.4.11;
import "./RecoveryQuorum.sol";


Expand Down
2 changes: 1 addition & 1 deletion contracts/IdentityFactoryWithRecoveryKey.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.4.11;
pragma solidity 0.4.11;
import "./RecoverableController.sol";


Expand Down
2 changes: 1 addition & 1 deletion contracts/IdentityManager.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.4.11;
pragma solidity 0.4.11;
import "./Proxy.sol";

contract IdentityManager {
Expand Down
2 changes: 1 addition & 1 deletion contracts/MetaIdentityManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ contract MetaIdentityManager {
}

modifier onlyOwner(address identity, address sender) {
if (owners[identity][sender] > 0 && (owners[identity][sender] + userTimeLock) <= now ) _ ;
if (isOwner(identity, sender)) _ ;
else throw;
}

Expand Down
2 changes: 1 addition & 1 deletion contracts/Proxy.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.4.11;
pragma solidity 0.4.11;
import "./libs/Owned.sol";


Expand Down
3 changes: 1 addition & 2 deletions contracts/RecoverableController.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.4.11;
pragma solidity 0.4.11;
import "./Proxy.sol";


Expand Down Expand Up @@ -92,4 +92,3 @@ contract RecoverableController {
userKey = _userKey;
}
}

2 changes: 1 addition & 1 deletion contracts/RecoveryQuorum.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.4.11;
pragma solidity 0.4.11;
import "./RecoverableController.sol";
import "./libs/ArrayLib.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/libs/Owned.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.4.11;
pragma solidity 0.4.11;


contract Owned {
Expand Down
3 changes: 2 additions & 1 deletion contracts/misc/Migrations.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
pragma solidity ^0.4.11;
pragma solidity 0.4.11;


contract Migrations {
address public owner;
Expand Down
2 changes: 1 addition & 1 deletion contracts/misc/TestRegistry.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This contract is only used for testing purposes.
pragma solidity ^0.4.8;
pragma solidity 0.4.11;


contract TestRegistry {
Expand Down

0 comments on commit fa5bc58

Please sign in to comment.