Change orphan handling

This commit is contained in:
jl777
2018-11-10 07:10:22 -11:00
parent 17d91e14f1
commit 2d853d1959

View File

@@ -363,11 +363,11 @@ void *dicefinish(void *_ptr)
if ( myGetTransaction(ptr->txid,finishTx,hashBlock) == 0 )
{
fprintf(stderr,"ORPHANED finish txid.%s\n",ptr->txid.GetHex().c_str());
//dicefinish_delete(ptr);
//continue;
if ( ptr->rawtx.empty() == 0 )
ptr->rawtx.clear();
ptr->txid = zeroid;
dicefinish_delete(ptr);
continue;
//if ( ptr->rawtx.empty() == 0 )
// ptr->rawtx.clear();
//ptr->txid = zeroid;
}
}
if ( ptr->bettxid_ready != 0 )