If by an act of the creditor the surety is discharged and in ignorance of the fact of the discharge the surety promises to pay, the promise shall not be binding.