Browse Source

Test

etomic
jl777 8 years ago
parent
commit
2b8b47ba8b
  1. 4
      basilisk/basilisk_swap.c
  2. 2
      crypto777/bitcoind_RPC.c

4
basilisk/basilisk_swap.c

@ -3015,14 +3015,14 @@ bits256 basilisk_swap_spendtxid(struct supernet_info *myinfo,char *symbol,char *
if (strcmp(catstr,"send") == 0 )
{
strncpy(destaddr,addr,63);
printf("(%s) <- (%s) item.%d.[%s]\n",destaddr,coinaddr,i,jprint(item,0));
//printf("(%s) <- (%s) item.%d.[%s]\n",destaddr,coinaddr,i,jprint(item,0));
if ( coinaddr[0] != 0 )
break;
}
if (strcmp(catstr,"receive") == 0 )
{
strncpy(coinaddr,addr,63);
printf("receive dest.(%s) <- (%s)\n",destaddr,coinaddr);
//printf("receive dest.(%s) <- (%s)\n",destaddr,coinaddr);
if ( destaddr[0] != 0 )
break;
}

2
crypto777/bitcoind_RPC.c

@ -57,7 +57,7 @@ char *post_process_bitcoind_RPC(char *debugstr,char *command,char *rpcstr,char *
//printf("<<<<<<<<<<< bitcoind_RPC: %s post_process_bitcoind_RPC.%s.[%s]\n",debugstr,command,rpcstr);
if ( command == 0 || rpcstr == 0 || rpcstr[0] == 0 )
{
if ( strcmp(command,"signrawtransaction") != 0 )
if ( strcmp(command,"signrawtransaction") != 0 && strcmp(command,"getrawtransaction") != 0 )
printf("<<<<<<<<<<< bitcoind_RPC: %s post_process_bitcoind_RPC.%s.[%s]\n",debugstr,command,rpcstr);
return(rpcstr);
}

Loading…
Cancel
Save