Browse Source

Fix warnings.

etomic
Artem Pikulin 7 years ago
parent
commit
3511f9aeeb
  1. 2
      iguana/exchanges/LP_etomic.c

2
iguana/exchanges/LP_etomic.c

@ -241,7 +241,7 @@ char *sendEthTx(struct basilisk_swap *swap, struct basilisk_rawtx *rawtx)
} else if (rawtx == &swap->bobpayment && swap->I.bobtomic[0] != 0) {
return LP_etomicbob_sends_payment(swap);
} else {
char *result = malloc(66);
char *result = malloc(67);
strcpy(result, "0x0000000000000000000000000000000000000000000000000000000000000000");
return result;
}

Loading…
Cancel
Save