aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.cpp
diff options
context:
space:
mode:
authorPatrick Strateman <[email protected]>2016-09-09 18:53:23 -0700
committerPatrick Strateman <[email protected]>2016-09-15 06:52:15 -0700
commit59adc86680911a83dcccf5b23db299a370fc92f2 (patch)
tree44f3a18b2e07624ed5b4f5769ed10945d1dca7b8 /src/wallet/wallet.cpp
parentMerge #8714: [qa] gitignore: Remove unused lines (diff)
downloaddiscoin-59adc86680911a83dcccf5b23db299a370fc92f2.tar.xz
discoin-59adc86680911a83dcccf5b23db299a370fc92f2.zip
Add CWallet::ListAccountCreditDebit
Simple pass through for CWalletDB::ListAccountCreditDebit
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r--src/wallet/wallet.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index 4c10ea0ed..7b5511167 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -2501,6 +2501,11 @@ bool CWallet::CommitTransaction(CWalletTx& wtxNew, CReserveKey& reservekey, CCon
return true;
}
+void CWallet::ListAccountCreditDebit(const std::string& strAccount, std::list<CAccountingEntry>& entries) {
+ CWalletDB walletdb(strWalletFile);
+ return walletdb.ListAccountCreditDebit(strAccount, entries);
+}
+
bool CWallet::AddAccountingEntry(const CAccountingEntry& acentry, CWalletDB & pwalletdb)
{
if (!pwalletdb.WriteAccountingEntry_Backend(acentry))