diff options
| author | accraze <[email protected]> | 2015-12-12 10:45:53 -0800 |
|---|---|---|
| committer | accraze <[email protected]> | 2015-12-12 10:45:53 -0800 |
| commit | d812daf967ba4173bfa1c37eeb4ab7a0ccc4df25 (patch) | |
| tree | 739c2c27f35eb93731481117395cc0adc2c4629c /src/wallet/wallet.cpp | |
| parent | wallet: check if tx scriptPubKey is unspendable (diff) | |
| download | discoin-d812daf967ba4173bfa1c37eeb4ab7a0ccc4df25.tar.xz discoin-d812daf967ba4173bfa1c37eeb4ab7a0ccc4df25.zip | |
fix logic for error log
Diffstat (limited to 'src/wallet/wallet.cpp')
| -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 82f3b42b5..2cbb89e5a 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()); |