diff --git a/src/test/accounting_tests.cpp b/src/test/accounting_tests.cpp index 5c65d1f..a3c5454 100644 --- a/src/test/accounting_tests.cpp +++ b/src/test/accounting_tests.cpp @@ -13,7 +13,7 @@ GetResults(CWalletDB& walletdb, std::map& results) std::list aes; results.clear(); - BOOST_CHECK(walletdb.ReorderTransactions(pwalletMain) == DB_LOAD_OK); + BOOST_CHECK(walletdb.ReorderTransactions(pwalletMain.get()) == DB_LOAD_OK); walletdb.ListAccountCreditDebit("", aes); for (CAccountingEntry& ae : aes) {