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

fixes for max stuff #27

Merged
merged 2 commits into from
Aug 1, 2021
Merged

fixes for max stuff #27

merged 2 commits into from
Aug 1, 2021

Conversation

nope-finance
Copy link
Member

No description provided.

@@ -1344,10 +1344,11 @@ fn process_borrow_obligation_liquidity(
msg!("Borrow reserve is stale and must be refreshed in the current slot");
return Err(LendingError::ReserveStale.into());
}
if Decimal::from(liquidity_amount)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to do something similar for deposit limits?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

naw cause they dont have a max for deposits

@nope-finance nope-finance merged commit a6b1ce1 into staging Aug 1, 2021
@nope-finance nope-finance deleted the max_fixes branch August 1, 2021 20:15
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.

2 participants