Browse Source

Test

etomic
jl777 8 years ago
parent
commit
293bc04a2b
  1. 2
      iguana/exchanges/LP_include.h
  2. 2
      iguana/exchanges/LP_network.c

2
iguana/exchanges/LP_include.h

@ -24,7 +24,7 @@
#define LP_COMMAND_SENDSOCK NN_PUSH
#define LP_COMMAND_RECVSOCK NN_PULL
#define LP_ENCRYPTED_MAXSIZE (1024 + 2 + crypto_box_NONCEBYTES + crypto_box_ZEROBYTES)
#define LP_ENCRYPTED_MAXSIZE (4096 + 2 + crypto_box_NONCEBYTES + crypto_box_ZEROBYTES)
#define LP_MAXPUBKEY_ERRORS 3
#define PSOCK_KEEPALIVE 3600

2
iguana/exchanges/LP_network.c

@ -249,6 +249,8 @@ void LP_broadcast_message(int32_t pubsock,char *base,char *rel,bits256 destpub25
{
strcpy(method,methodstr);
jdelete(argjson,"method");
if ( jobj(argjson,"method2") != 0 )
jdelete(argjson,"method2");
jaddstr(argjson,"method2",method);
jaddstr(argjson,"method",method);
msg = (void *)jprint(argjson,0);

Loading…
Cancel
Save