Browse Source

test

etomic
jl777 8 years ago
parent
commit
a213b5c37b
  1. 2
      basilisk/basilisk.h
  2. 2
      basilisk/basilisk_swap.c

2
basilisk/basilisk.h

@ -25,7 +25,7 @@
#define BASILISK_MINFANOUT 8
#define BASILISK_MAXFANOUT 64
#define BASILISK_DEFAULTDIFF 0x1effffff
#define BASILISK_DEXDURATION 30
#define BASILISK_DEXDURATION 300
#define BASILISK_MSGDURATION 30
#define BASILISK_AUCTION_DURATION 5

2
basilisk/basilisk_swap.c

@ -1762,7 +1762,7 @@ void basilisk_swaploop(void *_swap)
if ( time(NULL) >= expiration )
retval = -1;
myinfo->DEXactive = swap->I.expiration;
printf("C r%u/q%u swapstate.%x\n",swap->I.req.requestid,swap->I.req.quoteid,swap->I.statebits);
printf("C r%u/q%u swapstate.%x retval.%d\n",swap->I.req.requestid,swap->I.req.quoteid,swap->I.statebits,retval);
while ( retval == 0 && (swap->I.statebits & 0x40) == 0 ) // send fee
{
dpow_nanomsg_update(myinfo);

Loading…
Cancel
Save