Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
f6787e6e81
  1. 2
      basilisk/basilisk_swap.c

2
basilisk/basilisk_swap.c

@ -1033,6 +1033,8 @@ void basilisk_swaploop(void *_swap)
printf("A r%u/q%u swapstate.%x\n",swap->req.requestid,swap->req.quoteid,swap->statebits);
basilisk_sendpubkeys(myinfo,swap,data,maxlen); // send pubkeys
basilisk_checkdeck(myinfo,swap,data,maxlen); // check for other deck 0x02
if ( (swap->statebits & 0x02) != 0 )
basilisk_sendstate(myinfo,swap,data,maxlen);
basilisk_waitchoosei(myinfo,swap,data,maxlen); // wait for choosei 0x08
if ( (swap->statebits & (0x08|0x02)) == (0x08|0x02) )
break;

Loading…
Cancel
Save