Skip to content

Commit

Permalink
contracts-bedrock: remove legacy returns in L1BlockInterop
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfuturistic committed May 20, 2024
1 parent 28a01a9 commit 5387da4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/contracts-bedrock/src/L2/L1BlockInterop.sol
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,10 @@ contract L1BlockInterop is L1Block {

if (_type == ConfigType.GAS_PAYING_TOKEN) {
_setGasPayingToken(_value);
return;
} else if (_type == ConfigType.ADD_DEPENDENCY) {
_addDependency(_value);
return;
} else if (_type == ConfigType.REMOVE_DEPENDENCY) {
_removeDependency(_value);
return;
}
}

Expand Down

0 comments on commit 5387da4

Please sign in to comment.