Skip to content

Commit 321c7fc

Browse files
committed
Update LibProving.sol
1 parent b4b52c3 commit 321c7fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/protocol/contracts/L1/libs/LibUtils.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ library LibUtils {
3434
/// @param _state The state to initialize.
3535
/// @param _genesisBlockHash The block hash of the genesis block.
3636
function init(TaikoData.State storage _state, bytes32 _genesisBlockHash) internal {
37-
require(_genesisBlockHash != bytes32(0), L1_INVALID_GENESIS_HASH());
37+
require(_genesisBlockHash != 0, L1_INVALID_GENESIS_HASH());
3838
// Initialize state
3939
_state.slotA.genesisHeight = uint64(block.number);
4040
_state.slotA.genesisTimestamp = uint64(block.timestamp);

0 commit comments

Comments
 (0)