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 372e20d8b1
commit cf158f0185

View file

@ -1486,7 +1486,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();
}