From 3f0bed48991d47dc0f6b51c2b5c49d597f79203a Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Tue, 31 Oct 2023 19:43:28 +0100 Subject: [PATCH] fixed few compilation issues --- src/currency_core/currency_format_utils_transactions.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/currency_core/currency_format_utils_transactions.cpp b/src/currency_core/currency_format_utils_transactions.cpp index d64ebd15..d29fab6a 100644 --- a/src/currency_core/currency_format_utils_transactions.cpp +++ b/src/currency_core/currency_format_utils_transactions.cpp @@ -409,15 +409,15 @@ namespace currency } //---------------------------------------------------------------------------------------------------- - std::string wallet2::transform_tx_to_str(const currency::transaction& tx) + std::string transform_tx_to_str(const currency::transaction& tx) { return currency::obj_to_json_str(tx); } //---------------------------------------------------------------------------------------------------- - currency::transaction wallet2::transform_str_to_tx(const std::string& tx_str) + transaction transform_str_to_tx(const std::string& tx_str) { - THROW_IF_TRUE_WALLET_INT_ERR_EX_NO_HANDLER(false, "transform_str_to_tx shoruld never be called"); - return currency::transaction(); + CHECK_AND_ASSERT_THROW_MES(false, "transform_str_to_tx shoruld never be called"); + return transaction(); }