Skip to content

Commit 30133b6

Browse files
f: correct params order
1 parent 73c0c4e commit 30133b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/horizon/contracts/data-service/extensions/DataServiceFees.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ abstract contract DataServiceFees is DataService, DataServiceFeesV1Storage, IDat
4343
*/
4444
function _lockStake(address _serviceProvider, uint256 _tokens, uint256 _unlockTimestamp) internal {
4545
DataServiceFeesLib.lockStake(
46-
_delegationRatio,
4746
feesProvisionTracker,
4847
claims,
4948
claimsLists,
5049
_graphStaking(),
50+
_delegationRatio,
5151
_serviceProvider,
5252
_tokens,
5353
_unlockTimestamp

packages/horizon/contracts/data-service/libraries/DataServiceFeesLib.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ library DataServiceFeesLib {
3434
* @param _unlockTimestamp The timestamp when the tokens can be released
3535
*/
3636
function lockStake(
37-
uint32 _delegationRatio,
3837
mapping(address => uint256) storage feesProvisionTracker,
3938
mapping(bytes32 => IDataServiceFees.StakeClaim) storage claims,
4039
mapping(address serviceProvider => LinkedList.List list) storage claimsLists,
4140
IHorizonStaking graphStaking,
41+
uint32 _delegationRatio,
4242
address _serviceProvider,
4343
uint256 _tokens,
4444
uint256 _unlockTimestamp

0 commit comments

Comments
 (0)