divaprotocol / diva-monorepo

Diva Monorepo
https://diva.finance
4 stars 4 forks source link

Fix token decimals issue in Create Pool #802

Closed Walodja1987 closed 1 year ago

Walodja1987 commented 1 year ago

Technical Description

This PR addresses issue #801. The issue was caused because collateral token decimals were not updated if the collateral token was not changed from default (which is USDT). Adding provider as an additional trigger condition seems to fix this issue.