|
@ -749,6 +749,8 @@ void basilisk_swap_finished(struct supernet_info *myinfo,struct basilisk_swap *s |
|
|
void basilisk_swap_purge(struct supernet_info *myinfo,struct basilisk_swap *swap) |
|
|
void basilisk_swap_purge(struct supernet_info *myinfo,struct basilisk_swap *swap) |
|
|
{ |
|
|
{ |
|
|
int32_t i,n; |
|
|
int32_t i,n; |
|
|
|
|
|
// while still in orderbook, wait
|
|
|
|
|
|
return; |
|
|
portable_mutex_lock(&myinfo->DEX_swapmutex); |
|
|
portable_mutex_lock(&myinfo->DEX_swapmutex); |
|
|
n = myinfo->numswaps; |
|
|
n = myinfo->numswaps; |
|
|
for (i=0; i<n; i++) |
|
|
for (i=0; i<n; i++) |
|
|