Check that the bond is listed before opening a vault
PaulRBerg opened this issue · comments
Paul Razvan Berg commented
Without this check, ghost vaults can be created:
hifi-protocol/contracts/BalanceSheet.sol
Lines 522 to 528 in 8904b7f
Paul Razvan Berg commented
This may require a new function getBondListed
in the Fintroller.
Paul Razvan Berg commented
Implemented in e7ea749.
Added a new function isBondListed
.