Created by Kshitij about a year ago
No description provided
why hare we not create event?
Why haven't you used the selfdestruct function in the final smart contract ? In your final smart contract though the destroy function returns the full amount to the manager but the products information is still in the product array cause u didn't use the selfdestruct function.
When I am calling buy function getting error "revert The transaction has been reverted to the initial state. Note: The called function should be payable if you send value and the value you send should be less than your current balance. Debug the transaction to get more information."