aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2017-12-18 15:09:51 +0900
committerstoffu <stoffu@protonmail.ch>2017-12-26 08:23:32 +0900
commite3530789d3b52450d25a864d3eb8184d7f4361b2 (patch)
tree7185b1e890980c97a13c3922cd37dc855b844bd0
parentMerge pull request #2611 (diff)
downloadmonero-e3530789d3b52450d25a864d3eb8184d7f4361b2.tar.xz
wallet-api: added Utils::onStartup
-rw-r--r--src/wallet/api/utils.cpp5
-rw-r--r--src/wallet/api/wallet2_api.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/src/wallet/api/utils.cpp b/src/wallet/api/utils.cpp
index a9646e038..e54dd9f1c 100644
--- a/src/wallet/api/utils.cpp
+++ b/src/wallet/api/utils.cpp
@@ -48,6 +48,11 @@ bool isAddressLocal(const std::string &address)
}
}
+void onStartup()
+{
+ tools::on_startup();
+}
+
}
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h
index 8593bd1f9..ab1a48d6e 100644
--- a/src/wallet/api/wallet2_api.h
+++ b/src/wallet/api/wallet2_api.h
@@ -42,6 +42,7 @@ namespace Monero {
namespace Utils {
bool isAddressLocal(const std::string &hostaddr);
+ void onStartup();
}
template<typename T>