Browse Source
Merge pull request #77 from artemii235/etomic
#66 Do not forcefully use 1 ETOMIC for ETH/ERC20 trades yet.
pass-iguana-arg
Artem Pikulin
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
iguana/exchanges/LP_swap.c
|
|
@ -1201,11 +1201,11 @@ struct basilisk_swap *bitcoin_swapinit(bits256 privkey,uint8_t *pubkey33,bits256 |
|
|
|
#ifndef NOTETOMIC |
|
|
|
if (strcmp(alicestr, "ETOMIC") == 0) { |
|
|
|
swap->I.alicerealsat = swap->I.alicesatoshis; |
|
|
|
swap->I.alicesatoshis = 100000000; |
|
|
|
//swap->I.alicesatoshis = 100000000;
|
|
|
|
} |
|
|
|
if (strcmp(bobstr, "ETOMIC") == 0) { |
|
|
|
swap->I.bobrealsat = swap->I.bobsatoshis; |
|
|
|
swap->I.bobsatoshis = 100000000; |
|
|
|
//swap->I.bobsatoshis = 100000000;
|
|
|
|
} |
|
|
|
#endif |
|
|
|
if ( (swap->I.bobinsurance= (swap->I.bobsatoshis / INSTANTDEX_INSURANCEDIV)) < LP_MIN_TXFEE ) |
|
|
|