aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wallet/api/utils.cpp')
-rw-r--r--src/wallet/api/utils.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/api/utils.cpp b/src/wallet/api/utils.cpp
index aebe41e59..86fe56564 100644
--- a/src/wallet/api/utils.cpp
+++ b/src/wallet/api/utils.cpp
@@ -51,6 +51,9 @@ bool isAddressLocal(const std::string &address)
void onStartup()
{
tools::on_startup();
+#ifdef NDEBUG
+ tools::disable_core_dumps();
+#endif
}
}