Skip to content

Commit 11e0b32

Browse files
Code rabbit suggestions
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent cdebe0f commit 11e0b32

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: public/tutorials/LockboxSuperchainERC20.sol

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ contract LockboxSuperchainERC20 is SuperchainERC20 {
1717
uint8 decimals_,
1818
address originalTokenAddress_,
1919
uint256 originalChainId_) {
20+
require(originalTokenAddress_ != address(0), "Invalid token address");
21+
require(originalChainId_ != 0, "Invalid chain ID");
2022
_name = name_;
2123
_symbol = symbol_;
2224
_decimals = decimals_;

0 commit comments

Comments
 (0)