Add CWallet::ListAccountCreditDebit

Simple pass through for CWalletDB::ListAccountCreditDebit
This commit is contained in:
Patrick Strateman committed 2016-09-15 06:52:15 -07:00
1 parent a82e5d8220
commit 59adc86680
3 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ GetResults(CWalletDB& walletdb, std::map<CAmount, CAccountingEntry>& results)
results.clear();
BOOST_CHECK(walletdb.ReorderTransactions(pwalletMain) == DB_LOAD_OK);
walletdb.ListAccountCreditDebit("", aes);
pwalletMain->ListAccountCreditDebit("", aes);
BOOST_FOREACH(CAccountingEntry& ae, aes)
{
results[ae.nOrderPos] = ae;