summaryrefslogtreecommitdiff
path: root/src/xact.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/xact.cc')
-rw-r--r--src/xact.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xact.cc b/src/xact.cc
index 77a55c66..60186b1e 100644
--- a/src/xact.cc
+++ b/src/xact.cc
@@ -300,6 +300,12 @@ bool xact_base_t::finalize()
post->amount = breakdown.amount;
DEBUG("xact.finalize", "added breakdown, balance = " << balance);
}
+
+ if (post->has_flags(POST_COST_FIXATED) &&
+ post->amount.has_annotation() && post->amount.annotation().price) {
+ DEBUG("xact.finalize", "fixating annotation price");
+ post->amount.annotation().add_flags(ANNOTATION_PRICE_FIXATED);
+ }
}
if (null_post != NULL) {