We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 958d9a6 commit 73190c1Copy full SHA for 73190c1
src/wallet/wallet.cpp
@@ -3727,6 +3727,13 @@ void CWallet::SetupDescriptorScriptPubKeyMans()
3727
master_key.SetSeed(seed_key);
3728
3729
SetupDescriptorScriptPubKeyMans(master_key);
3730
+
3731
+ // Also setup a SilentPaymentsSPKM
3732
+ auto sp_spkm = std::unique_ptr<SilentPaymentsSPKM>(new SilentPaymentsSPKM(*this, m_keypool_size, master_key));
3733
+ uint256 id = sp_spkm->GetID();
3734
+ AddScriptPubKeyMan(id, std::move(sp_spkm));
3735
+ AddActiveScriptPubKeyMan(id, OutputType::SILENT_PAYMENT, /*internal=*/false);
3736
+ AddActiveScriptPubKeyMan(id, OutputType::SILENT_PAYMENT, /*internal=*/true);
3737
} else {
3738
ExternalSigner signer = ExternalSignerScriptPubKeyMan::GetExternalSigner();
3739
0 commit comments