Browse Source

Add 107 instead of 75 to datalen. ETH txid was added.

etomic
Artem Pikulin 7 years ago
parent
commit
733ba0c52c
  1. 2
      iguana/exchanges/LP_swap.c

2
iguana/exchanges/LP_swap.c

@ -631,7 +631,7 @@ int32_t LP_rawtx_spendscript(struct basilisk_swap *swap,int32_t height,struct ba
}
if ( recvlen != datalen+rawtx->I.redeemlen+75 )
if ( recvlen != datalen+rawtx->I.redeemlen + 107 )
printf("RECVLEN %d != %d + %d\n",recvlen,datalen,rawtx->I.redeemlen);
txid = bits256_calctxid(coin->symbol,data,datalen);
//char str[65]; printf("rawtx.%s txid %s\n",rawtx->name,bits256_str(str,txid));

Loading…
Cancel
Save