Skip to content

Commit

Permalink
feat: imporve code
Browse files Browse the repository at this point in the history
  • Loading branch information
ququzone committed Dec 17, 2024
1 parent 885180a commit 612f0ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/gauges/W3bstreamCountRewardPool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ contract W3bstreamCountRewardPool is MulticallUpgradeable, OwnableUpgradeable {
lastTickTimestamp[_device] = block.timestamp;

if (
rewardPerPeriod > 0 && validCount[_device][_period] >= activePeriodLimit && !receivedPeriod[_device][_period]
rewardPerPeriod > 0 && !receivedPeriod[_device][_period] && validCount[_device][_period] >= activePeriodLimit
) {
address _owner = ioID.ownerOf(ioIDRegistry.deviceTokenId(_device));
uint256 _rewardPerPeriod = rewardPerPeriod;
Expand Down

0 comments on commit 612f0ed

Please sign in to comment.