A public warehouseman is liable to the owner for the delivery of the kind, grade, quality, and quantity of grain called for by the warehouse receipt. Unless otherwise agreed, the value of any difference in kind, grade, quality, and quantity must be settled at the price on the local market on the day the warehouseman receives written request for delivery. The warehouseman may withhold from delivery a sufficient quantity of grain, based upon the local market price, to satisfy the value of any difference in kind, grade, or quality.
N.D.C.C. § 4.1-58-24