diff options
| author | Patrick Strateman <[email protected]> | 2016-09-09 18:53:23 -0700 |
|---|---|---|
| committer | Patrick Strateman <[email protected]> | 2016-09-15 06:52:15 -0700 |
| commit | 59adc86680911a83dcccf5b23db299a370fc92f2 (patch) | |
| tree | 44f3a18b2e07624ed5b4f5769ed10945d1dca7b8 /src/wallet/wallet.cpp | |
| parent | Merge #8714: [qa] gitignore: Remove unused lines (diff) | |
| download | discoin-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.cpp | 5 |
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)) |