summaryrefslogtreecommitdiff
path: root/ledger.h
diff options
context:
space:
mode:
Diffstat (limited to 'ledger.h')
-rw-r--r--ledger.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ledger.h b/ledger.h
index 1d64e4e1..c3ed47b3 100644
--- a/ledger.h
+++ b/ledger.h
@@ -62,6 +62,13 @@ class transaction_t
delete cost;
}
+#ifdef USE_BOOST_PYTHON
+ entry_t& get_entry() const {
+ assert(entry);
+ return *entry;
+ }
+#endif
+
bool valid() const;
};