From a24390d8b56f0982662fdd6c68be4520481eb451 Mon Sep 17 00:00:00 2001 From: Daniel Lima <38267570+karacurt@users.noreply.github.com> Date: Tue, 26 Sep 2023 10:24:06 -0300 Subject: [PATCH] Update contracts/RolesRegistry/RolesRegistry.sol MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ernani São Thiago --- contracts/RolesRegistry/RolesRegistry.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/RolesRegistry/RolesRegistry.sol b/contracts/RolesRegistry/RolesRegistry.sol index 0952a85..2fe496d 100644 --- a/contracts/RolesRegistry/RolesRegistry.sol +++ b/contracts/RolesRegistry/RolesRegistry.sol @@ -32,7 +32,7 @@ contract RolesRegistry is IERC7432 { ) { require( _isOwner(_tokenAddress, _tokenId, msg.sender) || - _isRoleApproved(_tokenAddress, _tokenId, _account, msg.sender), + _isRoleApproved(_tokenAddress, _tokenId, _account, msg.sender), "RolesRegistry: sender must be token owner or approved" ); _;