Skip to content

Commit

Permalink
made isTrustedAddress public
Browse files Browse the repository at this point in the history
  • Loading branch information
Foivos committed Nov 3, 2023
1 parent 187de6f commit 6b786c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/utils/InterchainAddressTracker.sol
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ contract InterchainAddressTracker is IInterchainAddressTracker {
* @param address_ Address of the sender
* @return bool true if the sender chain/address are trusted, false otherwise
*/
function isTrustedAddress(string calldata chain, string calldata address_) external view returns (bool) {
function isTrustedAddress(string calldata chain, string calldata address_) public view returns (bool) {
bytes32 addressHash = keccak256(bytes(address_));

return addressHash == trustedAddressHash(chain);
Expand Down

0 comments on commit 6b786c3

Please sign in to comment.