summaryrefslogtreecommitdiff
path: root/src/entry.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/entry.cc')
-rw-r--r--src/entry.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/entry.cc b/src/entry.cc
index 9f3af62e..1d4473d4 100644
--- a/src/entry.cc
+++ b/src/entry.cc
@@ -291,10 +291,7 @@ bool entry_base_t::finalize()
amount_t final_cost;
amount_t basis_cost;
amount_t ann_amount =
- commodity_t::exchange(x_amt, final_cost, basis_cost, xact->cost, none,
- datetime_t(*xact->actual_date(),
- time_duration_t(0, 0, 0)),
- entry ? entry->code : optional<string>());
+ commodity_t::exchange(x_amt, final_cost, basis_cost, xact->cost);
if (xact->amount.is_annotated()) {
if (ann_amount.annotation().price)