delvtech / hyperdrive

An automated market maker for fixed and variable yield with on-demand terms.
Apache License 2.0
33 stars 4 forks source link

unsafe cast in calculatePresentValue() #562

Closed jrhea closed 1 year ago

jrhea commented 1 year ago

https://github.com/delvtech/hyperdrive/blob/1aa45ea8e46d4173d4892858d5e02c8c716035ea/contracts/src/libraries/HyperdriveMath.sol#L609

jrhea commented 1 year ago

this was resolved in #537