This commit is contained in:
jl777
2016-10-25 18:39:53 -03:00
parent 3c0f5d94dd
commit b05863f5bd
2 changed files with 2 additions and 2 deletions

View File

@@ -97,7 +97,7 @@ char *komodo_issuemethod(char *method,char *params,uint16_t port)
{
sprintf(url,(char *)"http://127.0.0.1:%u",port);
sprintf(postdata,"{\"method\":\"%s\",\"params\":%s}",method,params);
printf("postdata.(%s) USERPASS.(%s)\n",postdata,USERPASS);
//printf("postdata.(%s) USERPASS.(%s)\n",postdata,USERPASS);
retstr = curl_post(&cHandle,url,USERPASS,postdata,0,0,0,0);
}
return(retstr);

View File

@@ -335,7 +335,7 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn)
//txNew.nLockTime = (uint32_t)time(NULL) - 60;
txNew.vin.resize(1);
txNew.vin[0].prevout.SetNull();
int32_t i,opretlen; uint8_t opret[8192],*ptr;
int32_t i,opretlen; uint8_t opret[256],*ptr;
if ( (opretlen= komodo_pax_opreturn(opret,sizeof(opret))) > 0 )
{
txNew.vout.resize(2);