mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-17 18:40:09 +00:00
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
@ -1034,7 +1034,8 @@ void CWalletTx::GetAmounts(list<COutputEntry>& listReceived,
|
|||||||
|
|
||||||
// In either case, we need to get the destination address
|
// In either case, we need to get the destination address
|
||||||
CTxDestination 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",
|
LogPrintf("CWalletTx::GetAmounts: Unknown transaction type found, txid %s\n",
|
||||||
this->GetHash().ToString());
|
this->GetHash().ToString());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user