summaryrefslogtreecommitdiff
path: root/src/xact.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/xact.cc')
-rw-r--r--src/xact.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/xact.cc b/src/xact.cc
index 9e5322fa..5c95b781 100644
--- a/src/xact.cc
+++ b/src/xact.cc
@@ -387,10 +387,16 @@ expr_t::ptr_op_t xact_t::lookup(const string& name)
bool xact_t::valid() const
{
- if (! _date || ! journal) {
- DEBUG("ledger.validate", "xact_t: ! _date || ! journal");
+ if (! _date) {
+ DEBUG("ledger.validate", "xact_t: ! _date");
return false;
}
+#if 0
+ if (! journal) {
+ DEBUG("ledger.validate", "xact_t: ! journal");
+ return false;
+ }
+#endif
foreach (post_t * post, posts)
if (post->xact != this || ! post->valid()) {