diff options
author | stoffu <stoffu@protonmail.ch> | 2017-12-18 15:09:51 +0900 |
---|---|---|
committer | stoffu <stoffu@protonmail.ch> | 2017-12-26 08:23:32 +0900 |
commit | e3530789d3b52450d25a864d3eb8184d7f4361b2 (patch) | |
tree | 7185b1e890980c97a13c3922cd37dc855b844bd0 /src | |
parent | Merge pull request #2611 (diff) | |
download | monero-e3530789d3b52450d25a864d3eb8184d7f4361b2.tar.xz |
wallet-api: added Utils::onStartup
Diffstat (limited to 'src')
-rw-r--r-- | src/wallet/api/utils.cpp | 5 | ||||
-rw-r--r-- | src/wallet/api/wallet2_api.h | 1 |
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> |