diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-10-26 22:39:00 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-10-26 22:39:00 +0200 |
commit | fc06c5daf8d845ebddd11fcdecefdc65fcde2dc2 (patch) | |
tree | 847c3cfc4b1a9794aa9880ecacfe47fdedeac21b /src/cryptonote_basic | |
parent | Merge pull request #4615 (diff) | |
parent | rpc: init m_rpc_version in Message ctor (diff) | |
download | monero-fc06c5daf8d845ebddd11fcdecefdc65fcde2dc2.tar.xz |
Merge pull request #4617
3ffbec15 rpc: init m_rpc_version in Message ctor (moneromooo-monero)
bfa2dce1 rpc: remove unused ctors (moneromooo-monero)
7cc39845 account: init creation timestamp to 0 (moneromooo-monero)
32123789 wallet2: initialize some scalar fields in ctor where appropriate (moneromooo-monero)
4eca42b2 blockchain_db: initialize m_hardfork in ctor just in case (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_basic')
-rw-r--r-- | src/cryptonote_basic/account.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_basic/account.cpp b/src/cryptonote_basic/account.cpp index e891a748d..1dc1ad71d 100644 --- a/src/cryptonote_basic/account.cpp +++ b/src/cryptonote_basic/account.cpp @@ -136,6 +136,7 @@ DISABLE_VS_WARNINGS(4244 4345) void account_base::set_null() { m_keys = account_keys(); + m_creation_timestamp = 0; } //----------------------------------------------------------------- void account_base::forget_spend_key() |