Submitted by camden
The owner could potentially extend the insurance period indefinitely in the applyCover function without ever allowing the market to resume. This is because there is no check in applyCover to ensure that the market is in a Trading state.
This can also allow the owner to emit fraudulent MarketStatusChanged events.
Require that the market be in a Trading state to allow another applyCover call.
oishun1112 (Insure) confirmed and resolved:
0xean (judge) commented:
