Skip to content

Commit 6084d2c

Browse files
committed
wallet: do not spam about non-existent spk managers
1 parent 3f56ef7 commit 6084d2c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/wallet/wallet.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -2962,7 +2962,6 @@ ScriptPubKeyMan* CWallet::GetScriptPubKeyMan(const OutputType& type, bool intern
29622962
const std::map<OutputType, ScriptPubKeyMan*>& spk_managers = internal ? m_internal_spk_managers : m_external_spk_managers;
29632963
std::map<OutputType, ScriptPubKeyMan*>::const_iterator it = spk_managers.find(type);
29642964
if (it == spk_managers.end()) {
2965-
WalletLogPrintf("%s scriptPubKey Manager for output type %d does not exist\n", internal ? "Internal" : "External", static_cast<int>(type));
29662965
return nullptr;
29672966
}
29682967
return it->second;

0 commit comments

Comments
 (0)