Even though none of the sources features an accidental to the top note of the last semiquaver, the use of g3 is much more likely, considering the melodic and harmonic context. Overlooked accidentals in such situations are one of Chopin's most frequent mistakes, cf., e.g. the Etude in F minor, Op. 25 No. 2, b. 4 or the Impromtu in A, Op. 29, b. 3 and 71.
Compare the passage in the sources »
category imprint: Differences between sources
issues: Omissions to cancel alteration, Errors of A
notation: Pitch