Make strWalletFile const (#1459)
* Make strWalletFile const * Insert Line Space for Legibility
This commit is contained in:
parent
9901cf4338
commit
e30faab6fd
@ -644,7 +644,7 @@ public:
|
|||||||
mutable CCriticalSection cs_wallet;
|
mutable CCriticalSection cs_wallet;
|
||||||
|
|
||||||
bool fFileBacked;
|
bool fFileBacked;
|
||||||
std::string strWalletFile;
|
const std::string strWalletFile;
|
||||||
|
|
||||||
std::set<int64_t> setKeyPool;
|
std::set<int64_t> setKeyPool;
|
||||||
std::map<CKeyID, CKeyMetadata> mapKeyMetadata;
|
std::map<CKeyID, CKeyMetadata> mapKeyMetadata;
|
||||||
@ -659,10 +659,10 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
CWallet(const std::string& strWalletFileIn)
|
CWallet(const std::string& strWalletFileIn)
|
||||||
|
: strWalletFile(strWalletFileIn)
|
||||||
{
|
{
|
||||||
SetNull();
|
SetNull();
|
||||||
|
|
||||||
strWalletFile = strWalletFileIn;
|
|
||||||
fFileBacked = true;
|
fFileBacked = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user