solana-labs / perpetuals

Solana perpetuals reference implementation
Other
66 stars 36 forks source link

Oracle price staleness check should be >= instead of > #2

Closed Adrena-Corto closed 1 year ago

Adrena-Corto commented 1 year ago

This is an issue that should only arise during testing with local validator, but I believe the price check in oracle.rs:224 should be a >= instead of a > as it is now? edit: issue encountered by using warps

Adrena-Corto commented 1 year ago

Doing further testing

Adrena-Corto commented 1 year ago

My bad I was updating only one oracle