Skip to content

Commit

Permalink
test preimage
Browse files Browse the repository at this point in the history
  • Loading branch information
cipig committed Aug 30, 2024
1 parent 974dec9 commit a4efcd2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/core/atomicdex/pages/qt.trading.page.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1316,7 +1316,9 @@ namespace atomic_dex
// TODO: there is a race condition that sometimes results in base == rel after switching base/rel tickers
const auto base = market_pair->get_left_selected_coin().toStdString();
const auto rel = market_pair->get_right_selected_coin().toStdString();
const auto swap_method = m_market_mode == MarketMode::Sell ? "sell"s : "buy"s;
//const auto swap_method = m_market_mode == MarketMode::Sell ? "sell"s : "buy"s;
const auto swap_method = "setprice";
const auto max = true;
std::string volume = get_volume().toStdString();
std::string price = get_price().toStdString();

Expand All @@ -1337,6 +1339,7 @@ namespace atomic_dex
.base_coin = base,
.rel_coin = rel,
.swap_method = swap_method,
.max = max,
.volume = volume,
.price = price
};
Expand Down

0 comments on commit a4efcd2

Please sign in to comment.