diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-06-11 21:51:14 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-06-12 16:48:52 +0100 |
| commit | 7bd6efe3130bd8637601091251d455eba5981a8f (patch) | |
| tree | eba6cc84a98aae3d6f2d8b5f9143580f0ecf6f48 /src/cryptonote_core/account.cpp | |
| parent | 63741d82644944f236c93e9f44cb988a38df1993 (diff) | |
| download | monzero-core-7bd6efe3130bd8637601091251d455eba5981a8f.tar.gz monzero-core-7bd6efe3130bd8637601091251d455eba5981a8f.tar.xz monzero-core-7bd6efe3130bd8637601091251d455eba5981a8f.zip | |
account: add a couple consts
Diffstat (limited to 'src/cryptonote_core/account.cpp')
| -rw-r--r-- | src/cryptonote_core/account.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_core/account.cpp b/src/cryptonote_core/account.cpp index b68103dda..313d803a5 100644 --- a/src/cryptonote_core/account.cpp +++ b/src/cryptonote_core/account.cpp @@ -98,13 +98,13 @@ DISABLE_VS_WARNINGS(4244 4345) return m_keys; } //----------------------------------------------------------------- - std::string account_base::get_public_address_str(bool testnet) + std::string account_base::get_public_address_str(bool testnet) const { //TODO: change this code into base 58 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) + std::string account_base::get_public_integrated_address_str(const crypto::hash &payment_id, bool testnet) const { //TODO: change this code into base 58 return get_account_integrated_address_as_str(testnet, m_keys.m_account_address, payment_id); |
