Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
k1rill-fedoseev committed Sep 22, 2023
1 parent 3d7474e commit 13bf6a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/zkbob/ZkBobCompoundingMixin.sol
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ abstract contract ZkBobCompoundingMixin is ZkBobPool {
function updateYieldParams(YieldParams memory _yieldParams) external onlyOwner {
address yieldAddress = yieldParams.yield;
require(
_yieldParams.yield == yieldAddress || investedAssetsAmount == 0,
"ZkBobCompounding: another yield is active"
_yieldParams.yield == yieldAddress || investedAssetsAmount == 0, "ZkBobCompounding: another yield is active"
);
require(
_yieldParams.yield == address(0) || _yieldParams.interestReceiver != address(0),
Expand Down

0 comments on commit 13bf6a7

Please sign in to comment.