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

fix: handle zero disbursed amount for check_disbursal function #1229

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

vindard
Copy link
Contributor

@vindard vindard commented Jan 8, 2025

Description

This makes it so that the check falls back to the total cvl in FacilityCVL since that value will always be lower than the disbursed cvl.

The issue here was that with a structuring fee of 0 the projected cvl had a disbursed value of 0 which caused the activation job to error here.

@bodymindarts bodymindarts merged commit 6b5d972 into main Jan 9, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Credit facility stuck in pending approval state in staging (likely backend job related)
2 participants