Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Amxx committed Apr 16, 2022
1 parent 37ddfef commit fb6a39d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion contracts/proxy/utils/Initializable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ abstract contract Initializable {
);
return false;
} else {
require(_initialized < version || (version == 1 && !Address.isContract(address(this))), "Initializable: contract is already initialized");
require(
_initialized < version || (version == 1 && !Address.isContract(address(this))),
"Initializable: contract is already initialized"
);
_initialized = version;
return true;
}
Expand Down

0 comments on commit fb6a39d

Please sign in to comment.