mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Don't log scary message about withdrawLock outputs
This commit is contained in:
parent
e637e5a5da
commit
fe2f6c31e0
1 changed files with 3 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue