Skip to content

Commit c2bc104

Browse files
committed
Fix m_spk_man->SetupGeneration missing force param in encrypt wallet
1 parent 7920df2 commit c2bc104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/wallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ bool CWallet::EncryptWallet(const SecureString& strWalletPassphrase)
748748
Unlock(strWalletPassphrase);
749749
// if we are using HD, replace the HD seed with a new one
750750
if (m_spk_man->IsHDEnabled()) {
751-
if (!m_spk_man->SetupGeneration(true)) {
751+
if (!m_spk_man->SetupGeneration(false, true)) {
752752
return false;
753753
}
754754
}

0 commit comments

Comments
 (0)