summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xact.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xact.cc b/src/xact.cc
index 60333004..b309b132 100644
--- a/src/xact.cc
+++ b/src/xact.cc
@@ -388,6 +388,8 @@ bool xact_base_t::finalize()
bool some_null = false;
foreach (post_t * post, posts) {
+ assert(post->account);
+
if (! post->amount.is_null()) {
all_null = false;
post->amount.in_place_reduce();