Skip to content

Commit

Permalink
fix bitcoin#9143 backport
Browse files Browse the repository at this point in the history
  • Loading branch information
PastaPastaPasta committed Jan 23, 2019
1 parent bba55e2 commit 68f6b43
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/wallet/walletdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ DBErrors CWalletDB::LoadWallet(CWallet* pwallet)
return result;
}

DBErrors CWalletDB::FindWalletTx(vector<uint256>& vTxHash, vector<CWalletTx>& vWtx)
DBErrors CWalletDB::FindWalletTx(std::vector<uint256>& vTxHash, std::vector<CWalletTx>& vWtx)
{
bool fNoncriticalErrors = false;
DBErrors result = DB_LOAD_OK;
Expand Down Expand Up @@ -753,11 +753,11 @@ DBErrors CWalletDB::FindWalletTx(vector<uint256>& vTxHash, vector<CWalletTx>& vW
return result;
}

DBErrors CWalletDB::ZapSelectTx(vector<uint256>& vTxHashIn, vector<uint256>& vTxHashOut)
DBErrors CWalletDB::ZapSelectTx(std::vector<uint256>& vTxHashIn, std::vector<uint256>& vTxHashOut)
{
// build list of wallet TXs and hashes
vector<uint256> vTxHash;
vector<CWalletTx> vWtx;
std::vector<uint256> vTxHash;
std::vector<CWalletTx> vWtx;
DBErrors err = FindWalletTx(vTxHash, vWtx);
if (err != DB_LOAD_OK) {
return err;
Expand Down Expand Up @@ -791,10 +791,10 @@ DBErrors CWalletDB::ZapSelectTx(vector<uint256>& vTxHashIn, vector<uint256>& vTx
return DB_LOAD_OK;
}

DBErrors CWalletDB::ZapWalletTx(vector<CWalletTx>& vWtx)
DBErrors CWalletDB::ZapWalletTx(std::vector<CWalletTx>& vWtx)
{
// build list of wallet TXs
vector<uint256> vTxHash;
std::vector<uint256> vTxHash;
DBErrors err = FindWalletTx(vTxHash, vWtx);
if (err != DB_LOAD_OK)
return err;
Expand Down

0 comments on commit 68f6b43

Please sign in to comment.