From 7d1e7521bc50a21aba9234adccf3b580573f3276 Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Mon, 2 Oct 2023 14:06:16 +0200 Subject: [PATCH] fixed simplewallet --- src/simplewallet/simplewallet.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index c45055e1..56fc9dd3 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -2116,10 +2116,10 @@ bool simple_wallet::generate_ionic_swap_proposal(const std::vector fail_msg_writer() << "Failed to load json file with asset specification: " << args[0]; return true; } - if (proposal_info.expiration_time == 0) - { - proposal_info.expiration_time = m_wallet->get_core_runtime_config().get_core_time() + 10 * 60; - } +// if (proposal_info.expiration_time == 0) +// { +// proposal_info.expiration_time = m_wallet->get_core_runtime_config().get_core_time() + 10 * 60; +// } currency::account_public_address destination_addr = AUTO_VAL_INIT(destination_addr); currency::payment_id_t integrated_payment_id; if (!m_wallet->get_transfer_address(args[1], destination_addr, integrated_payment_id))