X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fwallet.cpp;h=aecb227222719c35a782552f2a9f6fa4dcf85588;hp=063a1edd6c6d77ac059a6bd1a8129e230256edd4;hb=9acf270b14e561fe959ff25001f083a00e5e1caa;hpb=2cf54c4aefe0d5181db922a6d8ebf229e3e4d251 diff --git a/src/wallet.cpp b/src/wallet.cpp index 063a1ed..aecb227 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -247,7 +247,7 @@ bool CWallet::EncryptWallet(const SecureString& strWalletPassphrase) vMasterKey.resize(WALLET_CRYPTO_KEY_SIZE); RAND_bytes(&vMasterKey[0], WALLET_CRYPTO_KEY_SIZE); - CMasterKey kMasterKey; + CMasterKey kMasterKey(nDerivationMethodIndex); RandAddSeedPerfmon(); kMasterKey.vchSalt.resize(WALLET_CRYPTO_SALT_SIZE);