Skip to content

Commit ba22b7a

Browse files
committed
Fix filtering logic to not use the buffered start time
1 parent 8ea7225 commit ba22b7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sync/ledger.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func ledgerSync(
8989
// throw out extra transactions that were included by the institution responses
9090
filteredTxns := make([]ledger.Transaction, 0, len(allTxns))
9191
for _, t := range allTxns {
92-
if beforeStart.After(t.Date) {
92+
if t.Date.Before(lastTxnTime) {
9393
continue
9494
}
9595
filteredTxns = append(filteredTxns, t)

0 commit comments

Comments
 (0)