|
@ -390,6 +390,7 @@ void LP_query(void *ctx,char *myipaddr,int32_t mypubsock,char *method,struct LP_ |
|
|
flag = 1; |
|
|
flag = 1; |
|
|
jaddbits256(reqjson,"pubkey",qp->srchash); |
|
|
jaddbits256(reqjson,"pubkey",qp->srchash); |
|
|
jaddstr(reqjson,"method",method); |
|
|
jaddstr(reqjson,"method",method); |
|
|
|
|
|
jaddnum(reqjson,"timestamp",time(NULL)); |
|
|
msg = jprint(reqjson,1); |
|
|
msg = jprint(reqjson,1); |
|
|
msg2 = clonestr(msg); |
|
|
msg2 = clonestr(msg); |
|
|
// LP_addsig
|
|
|
// LP_addsig
|
|
|