|
|
@ -16,12 +16,6 @@ |
|
|
|
#include "util.h" |
|
|
|
#include "utilmoneystr.h" |
|
|
|
#include "wallet.h" |
|
|
|
#include <boost/stacktrace.hpp> |
|
|
|
#include <boost/exception/all.hpp> |
|
|
|
|
|
|
|
// enable function names and line numbers in backtraces
|
|
|
|
#define BOOST_STACKTRACE_LINK |
|
|
|
#define BOOST_STACKTRACE_USE_ADDR2LINE |
|
|
|
|
|
|
|
CAmount fConsolidationTxFee = DEFAULT_CONSOLIDATION_FEE; |
|
|
|
bool fConsolidationMapUsed = false; |
|
|
@ -50,7 +44,6 @@ void AsyncRPCOperation_saplingconsolidation::main() { |
|
|
|
set_error_code(code); |
|
|
|
set_error_message(message); |
|
|
|
} catch (const runtime_error& e) { |
|
|
|
std::cerr << "Consolidation stacktrace:" << '\n' << boost::stacktrace::stacktrace() << '\n'; |
|
|
|
set_error_code(-1); |
|
|
|
set_error_code(-1); |
|
|
|
set_error_message("runtime error: " + string(e.what())); |
|
|
|