Skip to content

Commit 72f4ec4

Browse files
committed
more update
1 parent 6a1b6cc commit 72f4ec4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/loopring_v3/contracts/iface/IProtocolFeeVault.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ contract IProtocolFeeVault
6363
/// the IUserStakingPool contract.
6464
///
6565
/// @param amount The amount of LRC to be claimed.
66-
function claim(uint amount) external;
66+
function claimStakingReward(uint amount) external;
6767

6868
/// @dev Returns some global stats regarding fees.
6969
/// @return accumulatedFees The accumulated amount of LRC protocol fees.

packages/loopring_v3/contracts/impl/UserStakingPool.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ contract UserStakingPool is IUserStakingPool, Claimable
149149
(totalPoints, userPoints, claimedAmount) = getUserClaimableReward(msg.sender);
150150
require(claimedAmount > 0, "ZERO_VALUE");
151151

152-
IProtocolFeeVault(protocolFeeVaultAddress).claim(claimedAmount);
152+
IProtocolFeeVault(protocolFeeVaultAddress).claimStakingReward(claimedAmount);
153153

154154
total.balance = total.balance.add(claimedAmount);
155155
total.claimedReward = total.claimedReward.add(claimedAmount);

0 commit comments

Comments
 (0)