diff options
author | Patrick Strateman <patrick.strateman@gmail.com> | 2016-09-09 19:21:44 -0700 |
---|---|---|
committer | Patrick Strateman <patrick.strateman@gmail.com> | 2016-09-15 06:52:15 -0700 |
commit | d2e678d7d220e2f430c2cb4bde559acee00c8c7c (patch) | |
tree | 23bf275b725f77657292e7a8a281e4c49b2a6378 /src/wallet/test/accounting_tests.cpp | |
parent | 59adc86680911a83dcccf5b23db299a370fc92f2 (diff) |
Add CWallet::ReorderTransactions and use in accounting_tests.cpp
Diffstat (limited to 'src/wallet/test/accounting_tests.cpp')
-rw-r--r-- | src/wallet/test/accounting_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/test/accounting_tests.cpp b/src/wallet/test/accounting_tests.cpp index 1863652fd7..ad2f081b4e 100644 --- a/src/wallet/test/accounting_tests.cpp +++ b/src/wallet/test/accounting_tests.cpp @@ -22,7 +22,7 @@ GetResults(CWalletDB& walletdb, std::map<CAmount, CAccountingEntry>& results) std::list<CAccountingEntry> aes; results.clear(); - BOOST_CHECK(walletdb.ReorderTransactions(pwalletMain) == DB_LOAD_OK); + BOOST_CHECK(pwalletMain->ReorderTransactions() == DB_LOAD_OK); pwalletMain->ListAccountCreditDebit("", aes); BOOST_FOREACH(CAccountingEntry& ae, aes) { |