Skip to content

Commit 69c7ece

Browse files
author
MarcoFalke
committed
Merge #11408: Trivial: Fix parameter name typo in ErasePurpose walletdb method
603efe9 Fix parameter name typo in ErasePurpose walletdb method. (Pierre Rochard) Pull request description: The header file has the correct method signature and the one usage in CWallet::DelAddressBook is correctly passing in EncodeDestination(address) Tree-SHA512: ee0808a74111fd23a1c47ba5ab51de151fdd33a01d92895671e562ac184cbcb33180a3ff26c22e5717595592097b9fa33deca9878d89ce8d34687f09cfadfcf0
2 parents 2505c5c + 603efe9 commit 69c7ece

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wallet/walletdb.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ bool CWalletDB::WritePurpose(const std::string& strAddress, const std::string& s
4141
return WriteIC(std::make_pair(std::string("purpose"), strAddress), strPurpose);
4242
}
4343

44-
bool CWalletDB::ErasePurpose(const std::string& strPurpose)
44+
bool CWalletDB::ErasePurpose(const std::string& strAddress)
4545
{
46-
return EraseIC(std::make_pair(std::string("purpose"), strPurpose));
46+
return EraseIC(std::make_pair(std::string("purpose"), strAddress));
4747
}
4848

4949
bool CWalletDB::WriteTx(const CWalletTx& wtx)

0 commit comments

Comments
 (0)