Browse Source

Check for tx existence 30 times before returning error.

patch-3
Artem Pikulin 7 years ago
parent
commit
813eb464ee
  1. 2
      iguana/exchanges/etomicswap/etomiccurl.c

2
iguana/exchanges/etomicswap/etomiccurl.c

@ -299,7 +299,7 @@ int32_t waitForConfirmation(char *txId)
txData = getEthTxData(txId);
if (txData.exists == 0) {
retries++;
if (retries >= 10) {
if (retries >= 30) {
printf("Have not found ETH tx %s after 10 checks, aborting\n", txId);
return (-1);
}

Loading…
Cancel
Save