From 4b7922f8b2eebafd7ff6079083d4235334e6ac7c Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 26 Apr 2017 18:02:18 +0300 Subject: [PATCH] Test --- basilisk/basilisk_swap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/basilisk/basilisk_swap.c b/basilisk/basilisk_swap.c index 343b7287d..09e439131 100755 --- a/basilisk/basilisk_swap.c +++ b/basilisk/basilisk_swap.c @@ -2772,6 +2772,9 @@ struct basilisk_swap *basilisk_thread_start(struct supernet_info *myinfo,bits256 for (iter=0; iter<3; iter++) { basilisk_psockinit(myinfo,swap,statebits == 0); + sleep(3); + if ( swap->connected <= 0 ) + continue; sleep(13); basilisk_sendstate(myinfo,swap,data,sizeof(data)); basilisk_swapget(myinfo,swap,0x80000000,data,sizeof(data),basilisk_verify_statebits);