Prints
This commit is contained in:
@@ -160,6 +160,7 @@ cJSON *cclib_reparse(int32_t *nump,char *jsonstr) // assumes origparams will be
|
|||||||
UniValue CClib_method(struct CCcontract_info *cp,char *method,char *jsonstr)
|
UniValue CClib_method(struct CCcontract_info *cp,char *method,char *jsonstr)
|
||||||
{
|
{
|
||||||
UniValue result(UniValue::VOBJ); uint64_t txfee = 10000; int32_t m; cJSON *params = cclib_reparse(&m,jsonstr);
|
UniValue result(UniValue::VOBJ); uint64_t txfee = 10000; int32_t m; cJSON *params = cclib_reparse(&m,jsonstr);
|
||||||
|
fprintf(stderr,"method.(%s) -> (%s)\n",jsonstr!=0?jsonstr:"",params!=0?jprint(params,0):"");
|
||||||
#ifdef BUILD_ROGUE
|
#ifdef BUILD_ROGUE
|
||||||
if ( cp->evalcode == EVAL_ROGUE )
|
if ( cp->evalcode == EVAL_ROGUE )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user