Skip to content

Commit

Permalink
fix(Executor): combined var declaration and assignment (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
koloz193 authored Feb 2, 2024
1 parent f8be09f commit 6c0ac0e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions l1-contracts/contracts/zksync/facets/Executor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -527,8 +527,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 6c0ac0e

Please sign in to comment.