Skip to content

Commit

Permalink
sync z coin from spaling
Browse files Browse the repository at this point in the history
  • Loading branch information
smk762 committed Sep 10, 2023
1 parent d7aaa9f commit 4d2c05e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ endif ()
##! We fetch our dependencies
if (APPLE)
FetchContent_Declare(mm2
URL https://github.com/KomodoPlatform/komodo-defi-framework/releases/download/v1.0.5-beta/mm2-1d8bebd15-Darwin-Release.zip)
URL https://sdk.devbuilds.komodo.earth/main/mm2_79f6205-mac-x86-64.zip)
elseif (UNIX AND NOT APPLE)
FetchContent_Declare(mm2
URL https://github.com/KomodoPlatform/komodo-defi-framework/releases/download/v1.0.5-beta/mm2-1d8bebd15-Linux-Release.zip)
URL https://sdk.devbuilds.komodo.earth/main/mm2_79f6205-linux-x86-64.zip)
else ()
FetchContent_Declare(mm2
URL https://github.com/KomodoPlatform/komodo-defi-framework/releases/download/v1.0.5-beta/mm2-1d8bebd15-Win64.zip)
URL https://sdk.devbuilds.komodo.earth/main/mm2_79f6205-win-x86-64.zip)
endif ()

#FetchContent_Declare(qmaterial URL https://github.com/KomodoPlatform/Qaterial/archive/last-clang-working-2.zip)
Expand Down
2 changes: 2 additions & 0 deletions src/core/atomicdex/api/mm2/rpc2.task.enable_z_coin.init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ namespace atomic_dex::mm2
{
j["params"]["ticker"] = request.coin_name;
j["params"]["activation_params"]["mode"]["rpc"] = "Light";
j["params"]["activation_params"]["sync_params"] = "earliest";
j["params"]["activation_params"]["mode"]["rpc_data"]["electrum_servers"] = request.servers;
j["params"]["activation_params"]["mode"]["rpc_data"]["light_wallet_d_servers"] = request.z_urls;
j["params"]["tx_history"] = request.with_tx_history;
earliest
}

//! Deserialization
Expand Down

0 comments on commit 4d2c05e

Please sign in to comment.