From 5fc37cd6d89cd5f2a99dcac029c9a885f5220973 Mon Sep 17 00:00:00 2001 From: MoonBoi9001 Date: Thu, 3 Oct 2024 13:41:15 +0100 Subject: [PATCH] fix: apply consistent mapping order isAuthorized (OZ_N-05) --- .../test/shared/horizon-staking/HorizonStakingShared.t.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/horizon/test/shared/horizon-staking/HorizonStakingShared.t.sol b/packages/horizon/test/shared/horizon-staking/HorizonStakingShared.t.sol index 58d77303e..6072b4f6c 100644 --- a/packages/horizon/test/shared/horizon-staking/HorizonStakingShared.t.sol +++ b/packages/horizon/test/shared/horizon-staking/HorizonStakingShared.t.sol @@ -1487,8 +1487,8 @@ abstract contract HorizonStakingSharedTest is GraphBaseTest { ); bool isAuth = staking.isAuthorized( - msgSender, beforeValues.allocation.indexer, + msgSender, subgraphDataServiceLegacyAddress ); address rewardsDestination = _getStorage_RewardsDestination(beforeValues.allocation.indexer);