aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-10-26 22:39:00 +0200
committerRiccardo Spagni <ric@spagni.net>2018-10-26 22:39:00 +0200
commitfc06c5daf8d845ebddd11fcdecefdc65fcde2dc2 (patch)
tree847c3cfc4b1a9794aa9880ecacfe47fdedeac21b /src/cryptonote_basic
parentMerge pull request #4615 (diff)
parentrpc: init m_rpc_version in Message ctor (diff)
downloadmonero-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.cpp1
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()