From cf158f0185fc08ce4f49a074e3c0d7f218533251 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 695720bca2..1a382ddbf0 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -1486,7 +1486,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(); }