diff options
-rw-r--r-- | src/draft.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/draft.cc b/src/draft.cc index 5ce41dc5..f9a0ad14 100644 --- a/src/draft.cc +++ b/src/draft.cc @@ -242,6 +242,9 @@ xact_t * draft_t::insert(journal_t& journal) xact_t * matching = NULL; unique_ptr<xact_t> added(new xact_t); + // There is no need to check drafts for errors, because we generated them. + journal.checking_style = journal_t::CHECK_PERMISSIVE; + if (xact_t * xact = lookup_probable_account(tmpl->payee_mask.str(), journal.xacts.rbegin(), journal.xacts.rend()).first) { |