Closed canonbrother closed 2 years ago
@canonbrother: Thanks for opening an issue, it is currently awaiting triage.
The triage/accepted label can be added by foundation members by writing /triage accepted in a comment.
@canonbrother: There are no 'area' labels on this issue. Adding an appropriate label will greatly expedite the process for us. You can add as many area as you see fit. If you are unsure what to do you can ignore this!
You can add area labels by leaving a /area
comment.
What happened:
Loan token is not allowed to be minted. It should back by vault.
What you expected to happen:
loanToken.mintable: false
How to reproduce it (as minimally and precisely as possible):
https://github.com/DeFiCh/jellyfish/blob/7fd90034696d4343ca6ba5f34834df7ee8267ed7/packages/jellyfish-api-core/src/category/loan.ts#L147-L149
Anything else we need to know?:
https://github.com/DeFiCh/ain/blob/2baae1d961a72640cc1950bbaecc9b9537dbd521/src/masternodes/mn_checks.cpp#L694-L698