When one wholesaler sells motor fuel to any other wholesaler, the former shall not be required to include in his selling price to the latter "cost to the wholesaler" as provided by Section 8-22-4, but the latter wholesaler, upon resale to a retailer, shall be subject to the provisions of said section.