Test
This commit is contained in:
@@ -404,11 +404,11 @@ void *dicefinish(void *_ptr)
|
|||||||
}
|
}
|
||||||
free(cmd);
|
free(cmd);
|
||||||
}
|
}
|
||||||
res = DICE_ENTROPYTX;
|
std::string entropyrawtx = DICE_ENTROPYTX;
|
||||||
if ( res.empty() == 0 && res.size() > 64 )
|
if ( entropyrawtx.empty() == 0 && entropyrawtx.size() > 64 )
|
||||||
{
|
{
|
||||||
char cmdbuf[8192]; std::string res;
|
char cmdbuf[8192];
|
||||||
sprintf(cmdbuf,"./komodo-cli -ac_name=%s sendrawtransaction %s",ASSETCHAINS_SYMBOL,res.c_str());
|
sprintf(cmdbuf,"./komodo-cli -ac_name=%s sendrawtransaction %s",ASSETCHAINS_SYMBOL,entropyrawtx.c_str());
|
||||||
fprintf(stderr,"(%s)\n",cmdbuf);
|
fprintf(stderr,"(%s)\n",cmdbuf);
|
||||||
if ( system(cmdbuf) != 0 )
|
if ( system(cmdbuf) != 0 )
|
||||||
fprintf(stderr,"error (%s)\n",cmdbuf);
|
fprintf(stderr,"error (%s)\n",cmdbuf);
|
||||||
|
|||||||
Reference in New Issue
Block a user