mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
fix logic for error log
This commit is contained in:
parent
c611acc38a
commit
d812daf967
@ -1035,7 +1035,7 @@ void CWalletTx::GetAmounts(list<COutputEntry>& listReceived,
|
|||||||
// In either case, we need to get the destination address
|
// In either case, we need to get the destination address
|
||||||
CTxDestination address;
|
CTxDestination address;
|
||||||
|
|
||||||
if (!ExtractDestination(txout.scriptPubKey, address) && txout.scriptPubKey.IsUnspendable())
|
if (!ExtractDestination(txout.scriptPubKey, address) && !txout.scriptPubKey.IsUnspendable())
|
||||||
{
|
{
|
||||||
LogPrintf("CWalletTx::GetAmounts: Unknown transaction type found, txid %s\n",
|
LogPrintf("CWalletTx::GetAmounts: Unknown transaction type found, txid %s\n",
|
||||||
this->GetHash().ToString());
|
this->GetHash().ToString());
|
||||||
|
Loading…
Reference in New Issue
Block a user