Skip to content

Commit

Permalink
fix: new HorizonStakingNotAuthorized consistent order (OZ_N-05)
Browse files Browse the repository at this point in the history
  • Loading branch information
MoonBoi9001 committed Oct 4, 2024
1 parent df54f30 commit f38f1c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/horizon/contracts/staking/HorizonStaking.sol
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ contract HorizonStaking is HorizonStakingBase, IHorizonStakingMain {
modifier onlyAuthorized(address serviceProvider, address verifier) {
require(
_isAuthorized(msg.sender, serviceProvider, verifier),
HorizonStakingNotAuthorized(msg.sender, serviceProvider, verifier)
HorizonStakingNotAuthorized(serviceProvider, msg.sender, verifier)
);
_;
}
Expand Down

0 comments on commit f38f1c1

Please sign in to comment.