Skip to content

Commit 53ff9ae

Browse files
committed
reorder
1 parent c24e576 commit 53ff9ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contracts/prebuilts/unaudited/checkout/PRBProxyRegistryModified.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ contract PRBProxyRegistryModified is IPRBProxyRegistry {
8484
address envoy,
8585
address target
8686
) external view returns (bool permission) {
87-
permission = _permissions[owner][envoy][target] || _permissions[owner][envoy][MAGIC_TARGET];
87+
permission = _permissions[owner][envoy][MAGIC_TARGET] || _permissions[owner][envoy][target];
8888
}
8989

9090
/// @inheritdoc IPRBProxyRegistry
@@ -93,7 +93,7 @@ contract PRBProxyRegistryModified is IPRBProxyRegistry {
9393
address envoy,
9494
address target
9595
) external view returns (bool permission) {
96-
permission = _permissions[proxy.owner()][envoy][target] || _permissions[proxy.owner()][envoy][MAGIC_TARGET];
96+
permission = _permissions[proxy.owner()][envoy][MAGIC_TARGET] || _permissions[proxy.owner()][envoy][target];
9797
}
9898

9999
/// @inheritdoc IPRBProxyRegistry

0 commit comments

Comments
 (0)