Commit 042048ba authored by Mark Tyneway's avatar Mark Tyneway

contracts-bedrock: fix logic

parent 831a15ca
...@@ -112,7 +112,7 @@ contract Deploy is Deployer { ...@@ -112,7 +112,7 @@ contract Deploy is Deployer {
/// @notice Modifier that will only allow a function to be called on devnet. /// @notice Modifier that will only allow a function to be called on devnet.
modifier onlyDevnet() { modifier onlyDevnet() {
uint256 chainid = block.chainid; uint256 chainid = block.chainid;
if (chainid != Chains.LocalDevnet && chainid != Chains.GethDevnet) { if (chainid == Chains.LocalDevnet || chainid == Chains.GethDevnet) {
_; _;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment