mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-11-16 22:01:28 +01:00
The !Type header line was buffered into the first transaction's raw lines, so a transaction hashed differently depending on whether it opened the export. An overlapping export with a different first transaction imported it twice. Header lines are now left out of the internal ID. The previous-hash check still hashes the full lines, headers included, and runs on the first appearance of each of those, so a first transaction and an identical later one imported before this change are both still recognized. Account blocks (!Account and !Option:AutoSwitch account lists) and non-transaction sections (!Type:Cat, !Type:Class, !Type:Memorized and any type not in QIF_TRANSACTION_SECTIONS) were read with the transaction codes, where T is an account's type and D a description, so files containing them failed to import. They are now skipped, and each skipped section is logged.