aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraccraze <accraze@gmail.com>2015-12-12 10:45:53 -0800
committeraccraze <accraze@gmail.com>2015-12-12 10:45:53 -0800
commitd812daf967ba4173bfa1c37eeb4ab7a0ccc4df25 (patch)
tree739c2c27f35eb93731481117395cc0adc2c4629c
parentc611acc38a95d336a824b632823aa1b652e570df (diff)
downloadbitcoin-d812daf967ba4173bfa1c37eeb4ab7a0ccc4df25.tar.xz
fix logic for error log
-rw-r--r--src/wallet/wallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index 82f3b42b55..2cbb89e5a8 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -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());