Browse Source

test

etomic
jl777 8 years ago
parent
commit
ed35d860a5
  1. 2
      iguana/dpow/dpow_rpc.c
  2. 6
      iguana/iguana_notary.c

2
iguana/dpow/dpow_rpc.c

@ -104,7 +104,7 @@ int32_t dpow_paxpending(uint8_t *hex)
decode_hex(hex,n,hexstr);
}
free_json(retjson);
}
} else printf("dpow_paxpending: parse error.(%s)\n",retstr);
free(retstr);
} else printf("dpow_paxpending: paxwithdraw null return\n");
} else printf("dpow_paxpending: KMD FULLNODE.%d\n",coin->FULLNODE);

6
iguana/iguana_notary.c

@ -300,9 +300,9 @@ TWO_STRINGS(iguana,dpow,symbol,pubkey)
if ( myinfo->numdpows++ == 0 )
portable_mutex_init(&dp->mutex);
PAX_init();
//printf(">>>>>>>>>>>>>>> call paxpending\n");
//uint8_t buf[32768];
//dpow_paxpending(buf);
printf(">>>>>>>>>>>>>>> call paxpending\n");
uint8_t buf[32768];
dpow_paxpending(buf);
return(clonestr("{\"result\":\"success\"}"));
}

Loading…
Cancel
Save