The A version must be erroneous – if the penultimate quaver were supposed to be a d2, there would be no reason for writing a to the next note or anywhere else in this bar. Therefore, this is one of the very rare situations in which Chopin did not overlook an accidental cancelling an alteration, but the one defining it. This is how it was interpreted in GE (→FE,EE,IE), and this is the version we adopt to the main text.
Compare the passage in the sources »
category imprint: Differences between sources; Editorial revisions
issues: GE revisions, Errors of A
notation: Pitch