Skip to content

Commit 44c7cc5

Browse files
clean up
1 parent a063100 commit 44c7cc5

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

test/crafting/SigUtils.sol

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,13 @@ contract SigUtils {
3333
return keccak256(abi.encodePacked(hashedBytesArr));
3434
}
3535

36-
// computes the hash of a permit
3736
function getStructHash(
3837
bytes32 _reference,
3938
address[] calldata _targets,
4039
bytes[] calldata _data,
4140
uint256 _deadline
4241
) internal pure returns (bytes32)
4342
{
44-
// return _hashTypedDataV4(
45-
// keccak256(
46-
// abi.encode(
47-
// MULTICALL_TYPEHASH,
48-
// _reference,
49-
// keccak256(abi.encodePacked(_targets)),
50-
// hashBytesArray(_data),
51-
// _deadline
52-
// )
53-
// )
54-
// );
5543
return keccak256(
5644
abi.encode(
5745
MULTICALL_TYPEHASH,
@@ -86,4 +74,4 @@ contract SigUtils {
8674
)
8775
);
8876
}
89-
}
77+
}

0 commit comments

Comments
 (0)