Browse Source

fix logic for error log

0.13
accraze 9 years ago
parent
commit
d812daf967
  1. 2
      src/wallet/wallet.cpp

2
src/wallet/wallet.cpp

@ -1035,7 +1035,7 @@ void CWalletTx::GetAmounts(list<COutputEntry>& listReceived, @@ -1035,7 +1035,7 @@ void CWalletTx::GetAmounts(list<COutputEntry>& listReceived,
// In either case, we need to get the destination 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",
this->GetHash().ToString());

Loading…
Cancel
Save