From 7850f504dd120ce40317444f3e215b5649e76f66 Mon Sep 17 00:00:00 2001 From: Dmytro Stebaiev Date: Mon, 7 Oct 2024 18:05:03 +0300 Subject: [PATCH] Update checkAllowedToSendMessage --- contracts/schain/ICommunityLocker.sol | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contracts/schain/ICommunityLocker.sol b/contracts/schain/ICommunityLocker.sol index 593d6ca..3f34045 100644 --- a/contracts/schain/ICommunityLocker.sol +++ b/contracts/schain/ICommunityLocker.sol @@ -21,6 +21,7 @@ pragma solidity >=0.8.19 <0.9.0; +import {SchainHash} from "../DomainTypes.sol"; import "../IMessageReceiver.sol"; import "./IMessageProxyForSchain.sol"; @@ -34,7 +35,7 @@ interface ICommunityLocker is IMessageReceiver { ITokenManagerLinker newTokenManagerLinker, address newCommunityPool ) external; - function checkAllowedToSendMessage(bytes32 chainHash, address receiver) external; + function checkAllowedToSendMessage(SchainHash chainHash, address receiver) external; function setTimeLimitPerMessage(string memory chainName, uint256 newTimeLimitPerMessage) external; function setGasPrice( uint256 gasPrice,