diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index efe589c9a..99b372d0b 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -7944,7 +7944,10 @@ bool simple_wallet::sweep_below(const std::vector &args_) bool simple_wallet::return_payment(const std::vector &args_) { // Disable until appropriate hard fork - CHECK_AND_ASSERT_MES(m_wallet->get_current_hard_fork() >= HF_VERSION_ENABLE_RETURN, false, tr("return_payments are disabled")); + if (m_wallet->get_current_hard_fork() < HF_VERSION_ENABLE_RETURN) { + fail_msg_writer() << tr("return_payments are disabled"); + return true; + } if (!try_connect_to_daemon()) return true;