Skip to content

Commit 8badb5e

Browse files
committed
fix: secure3-arbitrator-upgrade-issue-5
1 parent c77e28e commit 8badb5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/ZkLink.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ contract ZkLink is
495495
require(_toBatchNumber >= _fromBatchNumber, "Invalid range");
496496
bytes32 range = keccak256(abi.encodePacked(_fromBatchNumber, _toBatchNumber));
497497
bytes32 rangeBatchRootHash = rangeBatchRootHashes[range];
498-
require(rangeBatchRootHash != bytes32(0), "Rang batch root hash not exist");
498+
require(rangeBatchRootHash != bytes32(0), "Range batch root hash not exist");
499499
uint256 rootHashesLength = _l2LogsRootHashes.length;
500500
require(rootHashesLength == _toBatchNumber - _fromBatchNumber + 1, "Invalid root hashes length");
501501
bytes32 _rangeBatchRootHash = _l2LogsRootHashes[0];

0 commit comments

Comments
 (0)