diff options
Diffstat (limited to 'src/xact.cc')
-rw-r--r-- | src/xact.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xact.cc b/src/xact.cc index 749eb3e5..0c7f65a1 100644 --- a/src/xact.cc +++ b/src/xact.cc @@ -265,7 +265,7 @@ bool xact_base_t::finalize() DEBUG("xact.finalize", "per_unit_cost = " << per_unit_cost); foreach (post_t * post, posts) { - const amount_t& amt(post->amount); + const amount_t& amt(post->amount.reduced()); if (post->must_balance() && amt.commodity() == comm) { balance -= amt; |