Add CWallet::ReorderTransactions and use in accounting_tests.cpp
This commit is contained in:
@@ -649,6 +649,12 @@ bool CWallet::EncryptWallet(const SecureString& strWalletPassphrase)
|
||||
return true;
|
||||
}
|
||||
|
||||
DBErrors CWallet::ReorderTransactions()
|
||||
{
|
||||
CWalletDB walletdb(strWalletFile);
|
||||
return walletdb.ReorderTransactions(this);
|
||||
}
|
||||
|
||||
int64_t CWallet::IncOrderPosNext(CWalletDB *pwalletdb)
|
||||
{
|
||||
AssertLockHeld(cs_wallet); // nOrderPosNext
|
||||
|
||||
Reference in New Issue
Block a user