aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-12-27 10:00:01 +0200
committerRiccardo Spagni <ric@spagni.net>2017-12-27 10:00:01 +0200
commit395e209745d9abee52e7551bc96598a20678cb1b (patch)
tree283c0e1459d86894ca01d44b3204ca9f9a1d1509 /src
parentMerge pull request #2996 (diff)
parentwallet-api: added Utils::onStartup (diff)
downloadmonero-395e209745d9abee52e7551bc96598a20678cb1b.tar.xz
Merge pull request #2952
e3530789 wallet-api: added Utils::onStartup (stoffu)
Diffstat (limited to 'src')
-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>