From fe2f6c31e042cfdca9cb94b6f31f0683661b4e61 Mon Sep 17 00:00:00 2001 From: instagibbs Date: Fri, 10 Jun 2016 12:24:24 -0400 Subject: [PATCH] Don't log scary message about withdrawLock outputs --- src/wallet/wallet.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 1b34e73c0b..16e0bf2882 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -1313,7 +1313,9 @@ void CWalletTx::GetAmounts(list& listReceived, if (!ExtractDestination(txout.scriptPubKey, address) && !txout.scriptPubKey.IsUnspendable()) { - LogPrintf("CWalletTx::GetAmounts: Unknown transaction type found, txid %s\n", + //Don't alarm user over blank address for withdrawLocks + if (!txout.scriptPubKey.IsWithdrawLock()) + LogPrintf("CWalletTx::GetAmounts: Unknown transaction type found, txid %s\n", this->GetHash().ToString()); address = CNoDestination(); }