From 93ddd65c94084f8641cf6d8940e339275168897f Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 31 May 2017 11:42:58 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_commands.c b/iguana/exchanges/LP_commands.c index 98a9e938a..7039cbfa8 100644 --- a/iguana/exchanges/LP_commands.c +++ b/iguana/exchanges/LP_commands.c @@ -275,7 +275,7 @@ void LP_command(struct LP_peerinfo *mypeer,int32_t pubsock,cJSON *argjson,uint8_ if ( strcmp(method,"request") == 0 ) { utxo->swappending = (uint32_t)(time(NULL) + LP_RESERVETIME); - utxo->otherpubkey = jbits256(argjson,"pubkey"); + utxo->otherpubkey = jbits256(argjson,"mypub"); jaddbits256(retjson,"otherpubkey",utxo->otherpubkey); jaddstr(retjson,"method","reserved"); jaddnum(retjson,"pending",utxo->swappending);