From c91759430b53deb4d539070579fcbc8f530c2ad1 Mon Sep 17 00:00:00 2001 From: lsqrl Date: Tue, 19 Dec 2023 11:54:20 +0100 Subject: [PATCH] changed name of maxDeposit argument --- src/Vault.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Vault.sol b/src/Vault.sol index a21ca53..e27bc56 100644 --- a/src/Vault.sol +++ b/src/Vault.sol @@ -146,9 +146,9 @@ contract Vault is IVault, ERC4626, ERC20Permit { return ERC4626.deposit(_assets, receiver); } - function maxDeposit(address dummy) public view override(IERC4626, ERC4626) returns (uint256) { + function maxDeposit(address addr) public view override(IERC4626, ERC4626) returns (uint256) { if (isLocked) return 0; - return super.maxDeposit(dummy); + return super.maxDeposit(addr); } function maxMint(address) public view override(IERC4626, ERC4626) returns (uint256) {