In the createOffer
function, the amount field in the stockInfoMap
is updated to params.amount
. This can lead to inconsistencies as params.amount
represents the amount the user wants to buy or sell, not necessarily the amount of stock.
The amount field in the stockInfoMap is set to params.amount, which represents the amount the user wants to buy or sell.
The amount field in the stockInfoMap
may not accurately reflect the actual stock amount, leading to potential mismatches and errors in subsequent operations. Incorrect stock amounts can result in failed or incorrect trades, affecting the integrity of the marketplace.
Manual Review
Ensure that the amount field in the stockInfoMap
accurately reflects the actual stock amount.
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.