summaryrefslogtreecommitdiff
path: root/src/amount.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/amount.cc')
-rw-r--r--src/amount.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amount.cc b/src/amount.cc
index a5c54ce6..1fbc96c8 100644
--- a/src/amount.cc
+++ b/src/amount.cc
@@ -747,6 +747,8 @@ amount_t::value(const optional<datetime_t>& moment,
if (annotation().has_flags(ANNOTATION_PRICE_FIXATED)) {
point = price_point_t();
point->price = *annotation().price;
+ DEBUG("commodity.prices.find",
+ "amount_t::value: fixated price = " << point->price);
}
else if (! comm) {
comm = annotation().price->commodity();