Crypto-Pioneers / Evox-MarginTrading-SmartContracts

0 stars 0 forks source link

Fixing updatInterestRate function #6

Closed mymiracle0118 closed 6 months ago

mymiracle0118 commented 6 months ago

Now it has an unnecessary loop. For example, if year is 8736. we can calculate average with 12 months, but current code loops 8736.

mymiracle0118 commented 6 months ago

I updated the code and will write a test code now

mymiracle0118 commented 6 months ago

finished it