From e4d21e37df8ab19cbc4e0b68a59ff4bed0c8de56 Mon Sep 17 00:00:00 2001 From: Thrilok kumar Date: Thu, 4 May 2023 02:28:54 +0530 Subject: [PATCH] revert change --- contracts/InstadappAdapter.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/InstadappAdapter.sol b/contracts/InstadappAdapter.sol index 3c6526d..79ffc0d 100644 --- a/contracts/InstadappAdapter.sol +++ b/contracts/InstadappAdapter.sol @@ -73,7 +73,7 @@ contract InstadappAdapter is EIP712 { /// @dev This function is used to hash the CastData struct. /// @param castData The data that will be sent to the targets. /// @return bytes32 that is the hash of the CastData struct. - function getcastDataSigDigest(CastData memory castData) public pure returns (bytes32) { + function hash(CastData memory castData) public pure returns (bytes32) { return keccak256(abi.encode(CASTDATA_TYPEHASH, castData._targetNames, castData._datas, castData._origin)); }