diff options
author | accraze <accraze@gmail.com> | 2015-12-12 10:45:53 -0800 |
---|---|---|
committer | accraze <accraze@gmail.com> | 2015-12-12 10:45:53 -0800 |
commit | d812daf967ba4173bfa1c37eeb4ab7a0ccc4df25 (patch) | |
tree | 739c2c27f35eb93731481117395cc0adc2c4629c /src | |
parent | c611acc38a95d336a824b632823aa1b652e570df (diff) |
fix logic for error log
Diffstat (limited to 'src')
-rw-r--r-- | src/wallet/wallet.cpp | 2 |
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()); |