Skip to content

Commit

Permalink
Update TaikoL2.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik authored Jan 14, 2023
1 parent b1358dd commit 34ff709
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/protocol/contracts/L2/TaikoL2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ contract TaikoL2 is AddressResolver, ReentrancyGuard, IHeaderSync {
});
require(reason != LibInvalidTxList.Reason.OK, "L2:reason");

if (config.enablePublicInputsCheck) _checkPublicInputs();
if (config.enablePublicInputsCheck) {
_checkPublicInputs();
}

emit BlockInvalidated(txList.hashTxList());
}
Expand Down

0 comments on commit 34ff709

Please sign in to comment.