Since the financing is based on the lesser of (1) the purchase price or (2) the appraised value, an appraisal that results in a value at or above the contract purchase price means the deal remains intact.
FORBES: Anatomy of a Purchase Mortgage - Chapter Two