bool myAddtomempool(CTransaction &tx)

This commit is contained in:
jl777
2018-08-01 04:22:56 -11:00
parent 4d332fc027
commit b46dc9da56
3 changed files with 10 additions and 6 deletions

View File

@@ -126,12 +126,7 @@ void *dicefinish(void *_ptr)
if ( DecodeHexTx(tx,res) != 0 )
{
txid = tx.GetHash();
if ( mempool.exists(tx) == 0 )
{
CValidationState state;
bool fMissingInputs,fOverrideFees = false;
AcceptToMemoryPool(mempool, state, tx, false, &fMissingInputs, !fOverrideFees);
}
myAddtomempool(tx);
RelayTransaction(tx);
fprintf(stderr,"%s\nresult.(%s)\n",res.c_str(),uint256_str(str,txid));
}