From 8df820b301520074dc92f9de91f715ca38010267 Mon Sep 17 00:00:00 2001 From: Ilya Kitaev Date: Fri, 25 Mar 2016 17:06:30 +0300 Subject: - testnet option added to api; --- src/wallet/wallet2.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/wallet/wallet2.cpp') diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 3aa4406a2..4586c3530 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -3077,6 +3077,11 @@ std::string wallet2::get_tx_note(const crypto::hash &txid) const return i->second; } +std::string wallet2::get_daemon_address() const +{ + return m_daemon_address; +} + //---------------------------------------------------------------------------------------------------- void wallet2::generate_genesis(cryptonote::block& b) { if (m_testnet) -- cgit v1.2.3