summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2018-06-09 17:51:11 -0700
committerGitHub <noreply@github.com>2018-06-09 17:51:11 -0700
commit738b2cee088366dd33ccc5f70a095b0ba139a742 (patch)
treea83265b4107befc5299c21f1198694f5a6bcee51 /src
parente3fa7e9d89c17c69a163dfb031436ca8830f6562 (diff)
parent6853464fd0c4a0428540edc635f1257cfb534bcd (diff)
downloadfork-ledger-738b2cee088366dd33ccc5f70a095b0ba139a742.tar.gz
fork-ledger-738b2cee088366dd33ccc5f70a095b0ba139a742.tar.bz2
fork-ledger-738b2cee088366dd33ccc5f70a095b0ba139a742.zip
Merge pull request #1649 from Christoph-D/next
Make automated transactions work with assertions
Diffstat (limited to 'src')
-rw-r--r--src/xact.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xact.cc b/src/xact.cc
index c62974df..5df9ebc5 100644
--- a/src/xact.cc
+++ b/src/xact.cc
@@ -806,8 +806,9 @@ void auto_xact_t::extend_xact(xact_base_t& xact, parse_context_t& context)
xact.add_post(new_post);
new_post->account->add_post(new_post);
- // Add flag so this post updates the account balance
+ // Add flags so this post updates the account balance
new_post->xdata().add_flags(POST_EXT_VISITED);
+ new_post->account->xdata().add_flags(ACCOUNT_EXT_VISITED);
if (new_post->must_balance())
needs_further_verification = true;