From 63741d82644944f236c93e9f44cb988a38df1993 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Thu, 11 Jun 2015 09:44:13 +0100 Subject: Integrated addresses (standard address plus payment id) --- src/cryptonote_core/account.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/cryptonote_core/account.cpp') diff --git a/src/cryptonote_core/account.cpp b/src/cryptonote_core/account.cpp index 55e368836..b68103dda 100644 --- a/src/cryptonote_core/account.cpp +++ b/src/cryptonote_core/account.cpp @@ -104,4 +104,10 @@ DISABLE_VS_WARNINGS(4244 4345) return get_account_address_as_str(testnet, m_keys.m_account_address); } //----------------------------------------------------------------- + std::string account_base::get_public_integrated_address_str(const crypto::hash &payment_id, bool testnet) + { + //TODO: change this code into base 58 + return get_account_integrated_address_as_str(testnet, m_keys.m_account_address, payment_id); + } + //----------------------------------------------------------------- } -- cgit v1.2.3