Skip to content

Commit

Permalink
fix(Executor): combined var declaration and assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
koloz193 committed Jan 24, 2024
1 parent abcbaf3 commit 0edd4ed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions l1-contracts/contracts/zksync/facets/Executor.sol
Expand Up @@ -528,8 +528,7 @@ contract ExecutorFacet is Base, IExecutor {
blobCommitments = new bytes32[](MAX_NUMBER_OF_BLOBS);

for (uint256 i = 0; i < _pubdataCommitments.length; i += PUBDATA_COMMITMENT_SIZE) {
bytes32 blobVersionedHash;
blobVersionedHash = _getBlobVersionedHash(versionedHashIndex);
bytes32 blobVersionedHash = _getBlobVersionedHash(versionedHashIndex);

require(blobVersionedHash != bytes32(0), "vh");

Expand Down

0 comments on commit 0edd4ed

Please sign in to comment.