Suggestion: merge refuseInvestment and cancelInvestment
icaroharry opened this issue · 0 comments
icaroharry commented
InvestmentAsset.refuseInvestment
and InvestmentAsset.cancelInvestment
are the same function, the difference is just the modifiers, the first one being onlyOwner
and the second onlyInvestor
. So I suggest to merge the functions and create a ownerOrInvestor
modifier.