aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-03-25 17:06:30 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-06-23 15:49:07 +0300
commit8df820b301520074dc92f9de91f715ca38010267 (patch)
treed8e5f75df663e6a3da4ed53e6531b28ce08913b5 /src/wallet/wallet2.cpp
parentwallet2::store() implemented within wallet2::store_to (diff)
downloadmonero-8df820b301520074dc92f9de91f715ca38010267.tar.xz
- testnet option added to api;
Diffstat (limited to 'src/wallet/wallet2.cpp')
-rw-r--r--src/wallet/wallet2.cpp5
1 files changed, 5 insertions, 0 deletions
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)