diff options
Diffstat (limited to 'src/binary.cc')
-rw-r--r-- | src/binary.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/binary.cc b/src/binary.cc index 55d8e03a..5b57e171 100644 --- a/src/binary.cc +++ b/src/binary.cc @@ -175,7 +175,7 @@ inline void read_binary_transaction(char *& data, transaction_t * xact) repitem_t::wrap(xact, static_cast<repitem_t *>(xact->entry->data)); xact->data = item; - xact->amount = valexpr_t(xact->amount_expr).calc(item).to_amount(); + xact->amount = valexpr_t(xact->amount_expr).calc(item).amount(); } if (read_binary_bool(data)) { |