From c716b01cbc79851e284ed5b94442a28682f64ca6 Mon Sep 17 00:00:00 2001 From: smk762 Date: Tue, 22 Mar 2022 18:25:47 +0800 Subject: [PATCH 1/2] remove header spaces for csv exports --- src/core/atomicdex/models/qt.orders.proxy.model.cpp | 2 +- src/core/atomicdex/services/exporter/exporter.service.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/atomicdex/models/qt.orders.proxy.model.cpp b/src/core/atomicdex/models/qt.orders.proxy.model.cpp index 7409d7cd4d..0801b43a0c 100644 --- a/src/core/atomicdex/models/qt.orders.proxy.model.cpp +++ b/src/core/atomicdex/models/qt.orders.proxy.model.cpp @@ -280,7 +280,7 @@ namespace atomic_dex SPDLOG_INFO("exporting csv with path: {}", csv_path.string()); std::ofstream ofs(csv_path.string(), std::ios::out | std::ios::trunc); int nb_items = this->rowCount(); - ofs << "Date, BaseCoin, BaseAmount, Status, RelCoin, RelAmount, UUID, ErrorState" << std::endl; + ofs << "Date,BaseCoin,BaseAmount,Status,RelCoin,RelAmount,UUID,ErrorState" << std::endl; for (int cur_idx = 0; cur_idx < nb_items; ++cur_idx) { QModelIndex idx = this->index(cur_idx, 0); diff --git a/src/core/atomicdex/services/exporter/exporter.service.cpp b/src/core/atomicdex/services/exporter/exporter.service.cpp index fb40e3a33b..46461044ba 100644 --- a/src/core/atomicdex/services/exporter/exporter.service.cpp +++ b/src/core/atomicdex/services/exporter/exporter.service.cpp @@ -90,7 +90,7 @@ namespace atomic_dex ofs.setFileName(std_path_to_qstring(csv_path)); ofs.open(QIODevice::Text | QIODevice::WriteOnly | QIODevice::Truncate); std::stringstream ss; - ss << "Date, BaseCoin, BaseAmount, Status, RelCoin, RelAmount, UUID, ErrorState" << std::endl; + ss << "Date,BaseCoin,BaseAmount,Status,RelCoin,RelAmount,UUID,ErrorState" << std::endl; for (auto&& cur_swap: result.swaps) { ss << cur_swap.human_date.toStdString() << ","; From db9721d7aba28c8812c186a9fb4f5ba11621a7e7 Mon Sep 17 00:00:00 2001 From: cipig Date: Sat, 26 Mar 2022 20:03:56 +0000 Subject: [PATCH 2/2] fix FIRO/ETH chart --- atomic_defi_design/Dex/Constants/General.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atomic_defi_design/Dex/Constants/General.qml b/atomic_defi_design/Dex/Constants/General.qml index 6a4994f796..81f13ef72d 100644 --- a/atomic_defi_design/Dex/Constants/General.qml +++ b/atomic_defi_design/Dex/Constants/General.qml @@ -1346,7 +1346,7 @@ QtObject { "FIL/EURS": "COINBASE:FILEUR", "FIL/JEUR": "COINBASE:FILEUR", "FIRO/BTC": "BINANCE:FIROBTC", - "FIRO/ETH": "BINANCE:FIROETH", + "FIRO/ETH": "HUOBI:FIROETH", "FIRO/USDT": "BITTREX:FIROUSD", "FIRO/BUSD": "BITTREX:FIROUSD", "FIRO/USDC": "BITTREX:FIROUSD",