Remove pwalletdb parameter from CWallet::AddAccountingEntry
This commit is contained in:
1 parent
d2e678d7d2
commit
02e2a81536
3 files changed
+17
-9
No files matched your search
@@ -45,7 +45,7 @@ BOOST_AUTO_TEST_CASE(acc_orderupgrade)
|
||||
ae.nTime = 1333333333;
|
||||
ae.strOtherAccount = "b";
|
||||
ae.strComment = "";
|
||||
pwalletMain->AddAccountingEntry(ae, walletdb);
|
||||
pwalletMain->AddAccountingEntry(ae);
|
||||
|
||||
wtx.mapValue["comment"] = "z";
|
||||
pwalletMain->AddToWallet(wtx);
|
||||
@@ -55,7 +55,7 @@ BOOST_AUTO_TEST_CASE(acc_orderupgrade)
|
||||
|
||||
ae.nTime = 1333333336;
|
||||
ae.strOtherAccount = "c";
|
||||
pwalletMain->AddAccountingEntry(ae, walletdb);
|
||||
pwalletMain->AddAccountingEntry(ae);
|
||||
|
||||
GetResults(walletdb, results);
|
||||
|
||||
@@ -71,7 +71,7 @@ BOOST_AUTO_TEST_CASE(acc_orderupgrade)
|
||||
ae.nTime = 1333333330;
|
||||
ae.strOtherAccount = "d";
|
||||
ae.nOrderPos = pwalletMain->IncOrderPosNext();
|
||||
pwalletMain->AddAccountingEntry(ae, walletdb);
|
||||
pwalletMain->AddAccountingEntry(ae);
|
||||
|
||||
GetResults(walletdb, results);
|
||||
|
||||
@@ -121,7 +121,7 @@ BOOST_AUTO_TEST_CASE(acc_orderupgrade)
|
||||
ae.nTime = 1333333334;
|
||||
ae.strOtherAccount = "e";
|
||||
ae.nOrderPos = -1;
|
||||
pwalletMain->AddAccountingEntry(ae, walletdb);
|
||||
pwalletMain->AddAccountingEntry(ae);
|
||||
|
||||
GetResults(walletdb, results);
|
||||
|
||||
|
||||
Reference in new issue
Block a user