From e3530789d3b52450d25a864d3eb8184d7f4361b2 Mon Sep 17 00:00:00 2001 From: stoffu Date: Mon, 18 Dec 2017 15:09:51 +0900 Subject: wallet-api: added Utils::onStartup --- src/wallet/api/utils.cpp | 5 +++++ src/wallet/api/wallet2_api.h | 1 + 2 files changed, 6 insertions(+) (limited to 'src/wallet') 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 -- cgit v1.2.3