diff options
Diffstat (limited to 'src/xact.cc')
-rw-r--r-- | src/xact.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xact.cc b/src/xact.cc index f05c6069..7dbf097d 100644 --- a/src/xact.cc +++ b/src/xact.cc @@ -274,6 +274,8 @@ bool xact_base_t::finalize() if (post->amount.has_annotation() && post->amount.annotation().price) { if (breakdown.basis_cost.commodity() == breakdown.final_cost.commodity()) { + DEBUG("xact.finalize", "breakdown.basis_cost = " << breakdown.basis_cost); + DEBUG("xact.finalize", "breakdown.final_cost = " << breakdown.final_cost); if (amount_t gain_loss = breakdown.basis_cost - breakdown.final_cost) { DEBUG("xact.finalize", "gain_loss = " << gain_loss); gain_loss.in_place_round(); |