diff --git a/mm2src/mm2_main/src/lp_ordermatch/my_orders_storage.rs b/mm2src/mm2_main/src/lp_ordermatch/my_orders_storage.rs index 38a144952f..677af4be71 100644 --- a/mm2src/mm2_main/src/lp_ordermatch/my_orders_storage.rs +++ b/mm2src/mm2_main/src/lp_ordermatch/my_orders_storage.rs @@ -212,7 +212,7 @@ mod native_impl { my_taker_order_file_path, my_taker_orders_dir}; use mm2_io::fs::{read_dir_json, read_json, remove_file_async, write_json, FsJsonError}; - const USE_TMP_FILE: bool = false; + const USE_TMP_FILE: bool = true; impl From for MyOrdersError { fn from(fs: FsJsonError) -> Self { diff --git a/mm2src/mm2_main/src/lp_swap/saved_swap.rs b/mm2src/mm2_main/src/lp_swap/saved_swap.rs index d5333bae17..1531ceb28b 100644 --- a/mm2src/mm2_main/src/lp_swap/saved_swap.rs +++ b/mm2src/mm2_main/src/lp_swap/saved_swap.rs @@ -189,7 +189,7 @@ mod native_impl { use crate::mm2::lp_swap::{my_swap_file_path, my_swaps_dir}; use mm2_io::fs::{read_dir_json, read_json, write_json, FsJsonError}; - const USE_TMP_FILE: bool = false; + const USE_TMP_FILE: bool = true; impl From for SavedSwapError { fn from(fs: FsJsonError) -> Self {