while((n=LP_numconfirms(swap,&swap->alicepayment,1))<1)// sync with alice
if(strcmp(swap->alicecoin.symbol,"BTC")==0)
m=0;
elsem=1;
while((n=LP_numconfirms(swap,&swap->alicepayment,1))<m)// sync with alice
{
charstr[65];printf("%d waiting for alicepayment to be confirmed.%d %s %s\n",n,1,swap->alicecoin.symbol,bits256_str(str,swap->alicepayment.I.signedtxid));
charstr[65];printf("%d waiting for alicepayment to be confirmed.%d %s %s\n",n,1,swap->alicecoin.symbol,bits256_str(str,swap->alicepayment.I.signedtxid));