Skip to content

Commit

Permalink
change l1mntSuccess default value to true (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
abelliumnt committed Mar 1, 2024
1 parent bf84b39 commit 71153b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/contracts-bedrock/contracts/L1/OptimismPortal.sol
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ contract OptimismPortal is Initializable, ResourceMetering, Semver {
// 2. The amount of gas provided to the execution context of the target is at least the
// gas limit specified by the user. If there is not enough gas in the current context
// to accomplish this, `callWithMinGas` will revert.
bool l1mntSuccess = false;
bool l1mntSuccess = true;
if (_tx.mntValue>0){
l1mntSuccess = IERC20(L1_MNT_ADDRESS).transfer(_tx.target, _tx.mntValue);
}
Expand Down

0 comments on commit 71153b4

Please sign in to comment.