diff --git a/src/muneem/import.clj b/src/muneem/import.clj index 8a0bdeb..929cd58 100644 --- a/src/muneem/import.clj +++ b/src/muneem/import.clj @@ -386,5 +386,5 @@ (mapv write-transaction-to-file (drop-last (take-csv csv))) (mapv write-transaction-to-file-savings (drop-last (take-csv csv)))) (write-accounts beancount-file) - (assert-balance (last (take-csv csv)) checking?) + (assert-balance (first (take-csv csv)) checking?) (reset! new-accounts #{}))