aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPierre Rochard <pierre.rochard@axial.net>2017-09-26 18:02:09 -0400
committerPierre Rochard <pierre.rochard@axial.net>2017-09-26 18:02:09 -0400
commit603efe9fc46008c9b7051c8c18d960cfd1e7e0e5 (patch)
treef0ce14246d0bb2709dfcf14fff61eabbec7b7f79 /src
parent16e41844e7d6c5876d2caaeef6010656950c6ec5 (diff)
Fix parameter name typo in ErasePurpose walletdb method.
Diffstat (limited to 'src')
-rw-r--r--src/wallet/walletdb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp
index 52370a8eb5..b7f873c1e4 100644
--- a/src/wallet/walletdb.cpp
+++ b/src/wallet/walletdb.cpp
@@ -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)