This commit is contained in:
jl777
2018-11-08 09:43:32 -11:00
parent 60152b4ea6
commit 8753790c0f

View File

@@ -405,7 +405,7 @@ void *dicefinish(void *_ptr)
free(cmd);
}
std::string entropyrawtx = DICE_ENTROPYTX;
if ( entropyrawtx.empty() == 0 && entropyrawtx.size() > 64 )
if ( newblock != 0 && entropyrawtx.empty() == 0 && entropyrawtx.size() > 64 )
{
char cmdbuf[8192];
sprintf(cmdbuf,"./komodo-cli -ac_name=%s sendrawtransaction %s",ASSETCHAINS_SYMBOL,entropyrawtx.c_str());