Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to do proper accounting in LenderGroup contract when accepting funds from Escrow #55

Closed
ethereumdegen opened this issue Nov 21, 2024 · 1 comment

Comments

@ethereumdegen
Copy link
Collaborator

ethereumdegen commented Nov 21, 2024

   function withdrawFromEscrowVault ( uint256 _amount ) public whenForwarderNotPaused whenNotPaused {


        address _escrowVault = ITellerV2(TELLER_V2).getEscrowVault();

        IEscrowVault(_escrowVault).withdraw(address(principalToken), _amount );

    }

Need to increment accounting for amount repaid..

@ethereumdegen
Copy link
Collaborator Author

fixed in #62

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant