Browse Source

Add desthash to pending object

jl777
jl777 7 years ago
parent
commit
3d1a11123a
  1. 2
      iguana/exchanges/LP_include.h
  2. 1
      iguana/exchanges/LP_remember.c
  3. 2
      iguana/exchanges/coins

2
iguana/exchanges/LP_include.h

@ -35,7 +35,7 @@ voind dontprintf(char *formatstr,...) {}
#define LP_MAJOR_VERSION "0"
#define LP_MINOR_VERSION "1"
#define LP_BUILD_NUMBER "27772"
#define LP_BUILD_NUMBER "27773"
#define LP_BARTERDEX_VERSION 1
#define LP_MAGICBITS 1

1
iguana/exchanges/LP_remember.c

@ -1772,6 +1772,7 @@ char *LP_recent_swaps(int32_t limit,uint32_t origrequestid)
jaddstr(item,"alice",LP_Alicequery.destcoin);
jaddstr(item,"rel",LP_Alicequery.destcoin);
jaddnum(item,"relvalue",dstr(LP_Alicequery.destsatoshis));
jaddbits256(item,"desthash",G.LP_mypub25519);
jadd64bits(item,"aliceid",LP_aliceid_calc(LP_Alicequery.desttxid,LP_Alicequery.destvout,LP_Alicequery.feetxid,LP_Alicequery.feevout));
jadd(retjson,"pending",item);
} else Alice_expiration = 0;

2
iguana/exchanges/coins

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save