We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f8e25b commit 19c20e6Copy full SHA for 19c20e6
contracts/contracts/vault/OETHVaultCore.sol
@@ -397,12 +397,12 @@ contract OETHVaultCore is VaultCore {
397
override
398
returns (uint256 balance)
399
{
400
- balance = super._checkBalance(_asset);
401
-
402
if (_asset != weth) {
403
return 0;
404
}
405
+ balance = super._checkBalance(_asset);
+
406
WithdrawalQueueMetadata memory queue = withdrawalQueueMetadata;
407
// If there is not enough WETH in the vault and strategies to cover the outstanding withdrawals.
408
// It can happen if more than half of the users have requested a withdrawal but have not claimed.
0 commit comments