If the harvest fails, that year's interest is waived.
The Code of Hammurabi not only capped interest on grain and silver loans but also waived a year's interest if storms or drought ruined the harvest. A kind of insurance, sharing the risk of natural disaster between creditor and debtor, was built into the loan contract.