Skip to content

fix required_balance_for_loan not working #444

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RainBoltz
Copy link

@RainBoltz RainBoltz commented Apr 4, 2025

  • Issue: the GetControllerRequiredBalanceForLoan function is not running correctly on mytonctrl because the credit is not sent in nano-ton format, so the condition of GetControllerRequiredBalanceForLoan could always be true
  • Fix: credit -> credit * 10 ** 9

@RainBoltz RainBoltz changed the title fix required_balance_for_loan credit decimal fix required_balance_for_loan not working Apr 4, 2025
@RainBoltz
Copy link
Author

hi, @igroman787 @yungwine please review and correct me if i'm wrong, thanks!

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.

1 participant