Add CWallet::ListAccountCreditDebit

Simple pass through for CWalletDB::ListAccountCreditDebit
This commit is contained in:
Patrick Strateman
2016-09-09 18:53:23 -07:00
parent a82e5d8220
commit 59adc86680
3 changed files with 7 additions and 1 deletions

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;