Skip to content

Commit

Permalink
test: adjustment after merging into main (#238)
Browse files Browse the repository at this point in the history
Signed-off-by: Mariusz Jasuwienas <[email protected]>
  • Loading branch information
arianejasuwienas committed Feb 13, 2025
1 parent 3e9783a commit 58d0a48
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion contracts/HtsSystemContract.sol
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,6 @@ contract HtsSystemContract is IHederaTokenService {

function _isValidKyc(address token) private view returns (bool) {
if (msg.sender == HTS_ADDRESS) return true; // Usable only on the highest level call
(, TokenInfo memory info) = getTokenInfo(token);
address allowed = getKeyOwner(token, 0x2);
if (allowed == address(0) || allowed == msg.sender) return true;
(, bool hasKyc) = isKyc(token, msg.sender);
Expand Down

0 comments on commit 58d0a48

Please sign in to comment.