aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/account.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-06-11 21:51:14 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-06-12 16:48:52 +0100
commit7bd6efe3130bd8637601091251d455eba5981a8f (patch)
treeeba6cc84a98aae3d6f2d8b5f9143580f0ecf6f48 /src/cryptonote_core/account.h
parentIntegrated addresses (standard address plus payment id) (diff)
downloadmonero-7bd6efe3130bd8637601091251d455eba5981a8f.tar.xz
account: add a couple consts
Diffstat (limited to 'src/cryptonote_core/account.h')
-rw-r--r--src/cryptonote_core/account.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_core/account.h b/src/cryptonote_core/account.h
index 0f36029b5..909fa7ef6 100644
--- a/src/cryptonote_core/account.h
+++ b/src/cryptonote_core/account.h
@@ -59,8 +59,8 @@ namespace cryptonote
account_base();
crypto::secret_key generate(const crypto::secret_key& recovery_key = crypto::secret_key(), bool recover = false, bool two_random = false);
const account_keys& get_keys() const;
- std::string get_public_address_str(bool testnet);
- std::string get_public_integrated_address_str(const crypto::hash &payment_id, bool testnet);
+ std::string get_public_address_str(bool testnet) const;
+ std::string get_public_integrated_address_str(const crypto::hash &payment_id, bool testnet) const;
uint64_t get_createtime() const { return m_creation_timestamp; }
void set_createtime(uint64_t val) { m_creation_timestamp = val; }