Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
633d6f3e8a
  1. 2
      iguana/iguana_rpc.c
  2. 2
      iguana/main.c

2
iguana/iguana_rpc.c

@ -30,6 +30,8 @@ char *sglue(GLUEARGS,char *agent,char *method)
jaddstr(json,"agent",agent);
jaddstr(json,"method",method);
jaddstr(json,"coin",coin->symbol);
if ( myinfo->expiration != 0 && time(NULL) > myinfo->expiration )
iguana_walletlock(myinfo,0);
if ( (retstr= SuperNET_JSON(myinfo,json,remoteaddr,port)) != 0 )
{
if ( (retjson= cJSON_Parse(retstr)) != 0 )

2
iguana/main.c

@ -399,8 +399,6 @@ void mainloop(struct supernet_info *myinfo)
while ( 1 )
{
//printf("main iteration\n");
if ( myinfo->expiration != 0 && time(NULL) > myinfo->expiration )
iguana_walletlock(myinfo,0);
flag = 0;
isRT = 1;
numpeers = 0;

Loading…
Cancel
Save