Skip to content

Commit

Permalink
forge fmt & update contract layout table
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik authored and github-actions[bot] committed Aug 9, 2024
1 parent 1c6aea8 commit f1d3ee8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/protocol/contracts/L2/TaikoL2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ contract TaikoL2 is EssentialContract {

if (block.number == 0) {
// This is the case in real L2 genesis
} else if (block.number == 1) {
}
else if (block.number == 1) {
// This is the case in tests
uint256 parentHeight = block.number - 1;
l2Hashes[parentHeight] = blockhash(parentHeight);
Expand Down

0 comments on commit f1d3ee8

Please sign in to comment.