Skip to content

Commit

Permalink
Input checks
Browse files Browse the repository at this point in the history
  • Loading branch information
MickdeGraaf committed Sep 12, 2020
1 parent 5201455 commit cce403c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contracts/VestedTokenMigration.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ contract VestedTokenMigration is AragonApp {
* @param _outputTokenManager Address of the output token
*/
function initialize(address _inputTokenManager, address _outputTokenManager) external onlyInit {
require(_inputTokenManager != address(0), "INVALID_INPUT_TOKEN_MANAGER");
require(_outputTokenManager != address(0), "INVALID_OUTPUT_TOKEN_MANAGER")
inputTokenManager = ITokenManager(_inputTokenManager);
outputTokenManager = ITokenManager(_outputTokenManager);
initialized();
Expand Down

0 comments on commit cce403c

Please sign in to comment.