We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 770364b + f734505 commit f54e460Copy full SHA for f54e460
src/wallet/wallet.h
@@ -600,7 +600,7 @@ class CWallet : public CCryptoKeyStore, public CValidationInterface
600
*/
601
mutable CCriticalSection cs_wallet;
602
603
- std::string strWalletFile;
+ const std::string strWalletFile;
604
605
void LoadKeyPool(int nIndex, const CKeyPool &keypool)
606
{
@@ -625,11 +625,9 @@ class CWallet : public CCryptoKeyStore, public CValidationInterface
625
SetNull();
626
}
627
628
- CWallet(const std::string& strWalletFileIn)
+ CWallet(const std::string& strWalletFileIn) : strWalletFile(strWalletFileIn)
629
630
631
-
632
- strWalletFile = strWalletFileIn;
633
fFileBacked = true;
634
635
0 commit comments