Hello Tadle,
The function settleAskTaker checks stockInfo.stockStatus != StockStatus.Initialized and then allows the operation to proceed if this condition is false. However, similar checks are missing in other functions like closeBidOffer and closeBidTaker.
This could result in state inconsistencies if an offer or stock is in an unexpected status.
Solution: Ensure consistent and comprehensive state checks across all functions. If a function expects a certain status or condition to be true before proceeding, explicitly check for it and handle any exceptions.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.