Fix parameter name typo in ErasePurpose walletdb method.

This commit is contained in:
Pierre Rochard 2017-09-26 18:02:09 -04:00
parent 16e41844e7
commit 603efe9fc4
1 changed files with 2 additions and 2 deletions

View File

@ -41,9 +41,9 @@ bool CWalletDB::WritePurpose(const std::string& strAddress, const std::string& s
return WriteIC(std::make_pair(std::string("purpose"), strAddress), strPurpose);
}
bool CWalletDB::ErasePurpose(const std::string& strPurpose)
bool CWalletDB::ErasePurpose(const std::string& strAddress)
{
return EraseIC(std::make_pair(std::string("purpose"), strPurpose));
return EraseIC(std::make_pair(std::string("purpose"), strAddress));
}
bool CWalletDB::WriteTx(const CWalletTx& wtx)