summaryrefslogtreecommitdiff
path: root/src/py_xact.cc
diff options
context:
space:
mode:
authorDavid Sklar <177495+davidsklar@users.noreply.github.com>2022-12-29 13:45:37 -0500
committerMartin Michlmayr <tbm@cyrius.com>2023-01-10 09:15:59 +0800
commit0ade3a55fb84f5d899bcdac3f92dd9af6b370c66 (patch)
treedc8e57f7f1d398c2136be9586e239b3c59096424 /src/py_xact.cc
parentc43098d5bd91b6af733cb19225ebaf29228c2c50 (diff)
downloadfork-ledger-0ade3a55fb84f5d899bcdac3f92dd9af6b370c66.tar.gz
fork-ledger-0ade3a55fb84f5d899bcdac3f92dd9af6b370c66.tar.bz2
fork-ledger-0ade3a55fb84f5d899bcdac3f92dd9af6b370c66.zip
Python: Transaction.remove_post should call xact_base_t::remove_post
Diffstat (limited to 'src/py_xact.cc')
-rw-r--r--src/py_xact.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/py_xact.cc b/src/py_xact.cc
index 3474c127..5f062294 100644
--- a/src/py_xact.cc
+++ b/src/py_xact.cc
@@ -100,7 +100,7 @@ void export_xact()
return_internal_reference<>())
.def("add_post", &xact_base_t::add_post, with_custodian_and_ward<1, 2>())
- .def("remove_post", &xact_base_t::add_post)
+ .def("remove_post", &xact_base_t::remove_post)
.def("finalize", &xact_base_t::finalize)