Merge pull request #7200
d812daf
fix logic for error log (accraze)c611acc
wallet: check if tx scriptPubKey is unspendable (accraze)b6915b8
checks for null data transaction before debug.log (accraze)
This commit is contained in:
commit
dc511dcfd9
1 changed files with 2 additions and 1 deletions
|
@ -1034,7 +1034,8 @@ void CWalletTx::GetAmounts(list<COutputEntry>& listReceived,
|
|||
|
||||
// In either case, we need to get the destination address
|
||||
CTxDestination address;
|
||||
if (!ExtractDestination(txout.scriptPubKey, address))
|
||||
|
||||
if (!ExtractDestination(txout.scriptPubKey, address) && !txout.scriptPubKey.IsUnspendable())
|
||||
{
|
||||
LogPrintf("CWalletTx::GetAmounts: Unknown transaction type found, txid %s\n",
|
||||
this->GetHash().ToString());
|
||||
|
|
Loading…
Add table
Reference in a new issue