From b05863f5bd589a0080541eda2809e2a72bce3597 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 25 Oct 2016 18:39:53 -0300 Subject: [PATCH] test --- src/komodo_bitcoind.h | 2 +- src/miner.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index ec352176a..431f9f2bb 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -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); diff --git a/src/miner.cpp b/src/miner.cpp index 6afed045d..41a4f9f84 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -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);