Skip to content

Commit

Permalink
revbank2beancount: reword comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Juerd committed Sep 10, 2023
1 parent 62aae74 commit f4e7d56
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions contrib/revbank2beancount.pl
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@ sub rb2bc {
\s++ ([+-][\d.]++) # account balance before transaction
]x or warn;

# This depends on the logic that revbank will *always*
# emit a BALANCE event for every account modified by a CHECKOUT event,
# and that transactions will be in chronological order in the log. That
# is, the first old balance will be the opening balance, regardless of
# the corresponding transaction id.
# This uses the fact that revbank will *always* emit a BALANCE event
# for every account modified by a CHECKOUT event, and that transactions
# will be in chronological order in the log. That is, the first old
# balance will be the opening balance, regardless of the corresponding
# transaction id.
$balances{$account} //= $balance;
}
}
Expand Down Expand Up @@ -162,5 +162,5 @@ sub rb2bc {
print "\n";
}

# TO DO: read revbank.accounts and "open" beancount accounts for all accounts
# TODO: read revbank.accounts and "open" beancount accounts for all accounts
# that didn't have any transactions.

0 comments on commit f4e7d56

Please sign in to comment.