Update discount-wrapper.c