Removed excessive validity check from xact_t::valid
This commit is contained in:
parent
dc2c2c98d4
commit
5ef50f8877
1 changed files with 0 additions and 4 deletions
|
|
@ -457,10 +457,6 @@ bool xact_t::valid() const
|
|||
DEBUG("ledger.validate", "xact_t: ! _date");
|
||||
return false;
|
||||
}
|
||||
if (! has_flags(ITEM_GENERATED | ITEM_TEMP) && ! journal) {
|
||||
DEBUG("ledger.validate", "xact_t: ! journal");
|
||||
return false;
|
||||
}
|
||||
|
||||
foreach (post_t * post, posts)
|
||||
if (post->xact != this || ! post->valid()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue