Resolution bug dans buy and sell