Don't log scary message about withdrawLock outputs

This commit is contained in:
instagibbs 2016-06-10 12:24:24 -04:00 committed by Gregory Sanders
parent e637e5a5da
commit fe2f6c31e0

View file

@ -1313,7 +1313,9 @@ void CWalletTx::GetAmounts(list<COutputEntry>& 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();
}