diff --git a/iguana/exchanges/LP_commands.c b/iguana/exchanges/LP_commands.c index cc4b8359d..944f29520 100644 --- a/iguana/exchanges/LP_commands.c +++ b/iguana/exchanges/LP_commands.c @@ -201,6 +201,7 @@ stop()\n\ height = LP_notarization_latest(&bestheight,ptr); retjson = cJSON_CreateObject(); jaddstr(retjson,"result","success"); + jaddstr(retjson,"coin",coin); jaddnum(retjson,"lastnotarization",height); jaddnum(retjson,"bestheight",bestheight); return(jprint(retjson,1)); diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index a71e28ad9..3ccc412ae 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/iguana/exchanges/LP_rpc.c @@ -995,7 +995,7 @@ int32_t LP_txhasnotarization(struct iguana_info *coin,bits256 txid) { if ( ((1LL << j) & notarymask) == 0 ) { - printf("n%d ",j); + //printf("n%d ",j); numnotaries++; notarymask |= (1LL << j); break; @@ -1013,7 +1013,7 @@ int32_t LP_txhasnotarization(struct iguana_info *coin,bits256 txid) { if ( numnotaries >= DPOW_MIN_ASSETCHAIN_SIGS ) hasnotarization = 1; - printf("numnotaries.%d %s hasnotarization.%d\n",numnotaries,coin->symbol,hasnotarization); + //printf("numnotaries.%d %s hasnotarization.%d\n",numnotaries,coin->symbol,hasnotarization); } } } @@ -1047,7 +1047,7 @@ int32_t LP_notarization_latest(int32_t *bestheightp,struct iguana_info *coin) blockhash = LP_getbestblockhash(coin); if ( bits256_nonz(blockhash) != 0 ) { - char str[65]; printf("check %s\n",bits256_str(str,blockhash)); + //char str[65]; printf("check %s\n",bits256_str(str,blockhash)); if ( (blockjson= LP_getblock(coin->symbol,blockhash)) != 0 ) { if ( *bestheightp < 0 ) @@ -1055,7 +1055,7 @@ int32_t LP_notarization_latest(int32_t *bestheightp,struct iguana_info *coin) if ( (hasnotarization= LP_hasnotarization(coin,blockjson)) > 0 ) { height = jint(blockjson,"height"); - printf("height.%d\n",height); + //printf("height.%d\n",height); } else {