diff --git a/README.md b/README.md index 513f9af49..291e5f720 100755 --- a/README.md +++ b/README.md @@ -257,6 +257,7 @@ Execute the OSX deploy script: The iguana binary and its linked libraries are in ```$HOME/tmp/iguana```. # Cmake build of marketmaker with linked etomic lib for ETH/ERC20 atomic swaps: +0. `make sure g++-7 ln to /usr/bin/g++` 1. `cd ~/SuperNET` 2. `git checkout etomic` 3. `git submodule add https://github.com/artemii235/cpp-ethereum` diff --git a/iguana/exchanges/LP_commands.c b/iguana/exchanges/LP_commands.c index 6f79b5c9d..09fe4ca7d 100644 --- a/iguana/exchanges/LP_commands.c +++ b/iguana/exchanges/LP_commands.c @@ -428,7 +428,7 @@ jpg(srcfile, destfile, power2=7, password, data="", required, ind=0)\n\ //* if ( (ptr= LP_coinsearch(coin)) != 0 ) { - if ( ptr->userpass[0] == 0 ) + if ( ptr->userpass[0] == 0 && ptr->etomic[0] == 0 ) { cJSON *retjson = cJSON_CreateObject(); jaddstr(retjson,"error",LP_DONTCHANGE_ERRMSG0); @@ -439,7 +439,7 @@ jpg(srcfile, destfile, power2=7, password, data="", required, ind=0)\n\ { ptr->inactive = 0; cJSON *array; int32_t notarized; - if ( LP_getheight(¬arized,ptr) <= 0 ) + if ( ptr->etomic[0] == 0 && LP_getheight(¬arized,ptr) <= 0 ) { ptr->inactive = (uint32_t)time(NULL); return(clonestr("{\"error\":\"coin cant be activated till synced\"}"));