Skip to content

Commit

Permalink
Update LibProving.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik committed Sep 5, 2024
1 parent b4b52c3 commit 321c7fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/protocol/contracts/L1/libs/LibUtils.sol
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ library LibUtils {
/// @param _state The state to initialize.
/// @param _genesisBlockHash The block hash of the genesis block.
function init(TaikoData.State storage _state, bytes32 _genesisBlockHash) internal {
require(_genesisBlockHash != bytes32(0), L1_INVALID_GENESIS_HASH());
require(_genesisBlockHash != 0, L1_INVALID_GENESIS_HASH());
// Initialize state
_state.slotA.genesisHeight = uint64(block.number);
_state.slotA.genesisTimestamp = uint64(block.timestamp);
Expand Down

0 comments on commit 321c7fc

Please sign in to comment.