Skip to content

Commit

Permalink
add lens and accountant to zero checks (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
ungaro authored Dec 6, 2024
1 parent ae513f7 commit 16ca3c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nest/src/token/BoringVaultAdapter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ abstract contract BoringVaultAdapter is
) public onlyInitializing {
if (
owner == address(0) || address(asset_) == address(0) || vault_ == address(0) || teller_ == address(0)
|| atomicQueue_ == address(0)
|| atomicQueue_ == address(0) || lens_ == address(0) || accountant_ == address(0)
) {
revert ZeroAddress();
}
Expand Down Expand Up @@ -152,7 +152,7 @@ abstract contract BoringVaultAdapter is
// Reinitialize as needed
if (
owner == address(0) || address(asset_) == address(0) || vault_ == address(0) || teller_ == address(0)
|| atomicQueue_ == address(0)
|| atomicQueue_ == address(0) || lens_ == address(0) || accountant_ == address(0)
) {
revert ZeroAddress();
}
Expand Down

0 comments on commit 16ca3c8

Please sign in to comment.