summaryrefslogtreecommitdiff
path: root/src/balance.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/balance.h')
-rw-r--r--src/balance.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/balance.h b/src/balance.h
index 15657c5e..85c6b1ff 100644
--- a/src/balance.h
+++ b/src/balance.h
@@ -511,8 +511,10 @@ public:
bool valid() const {
foreach (const amounts_map::value_type& pair, amounts)
- if (! pair.second.valid())
+ if (! pair.second.valid()) {
+ DEBUG("ledger.validate", "balance_t: ! pair.second.valid()");
return false;
+ }
return true;
}
};