diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-10-16 10:22:24 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-10-16 11:58:50 +0000 |
| commit | 7cc39845be1cfa9286dec589d4f1c94381b140d9 (patch) | |
| tree | 4156432afcf4bcd80029559370b0ef5e46559298 /src/cryptonote_basic/account.cpp | |
| parent | 32123789129372f1a4cb46a8aa289843e15a4b37 (diff) | |
| download | monzero-core-7cc39845be1cfa9286dec589d4f1c94381b140d9.tar.gz monzero-core-7cc39845be1cfa9286dec589d4f1c94381b140d9.tar.xz monzero-core-7cc39845be1cfa9286dec589d4f1c94381b140d9.zip | |
account: init creation timestamp to 0
Never actually used uninitialized
Coverity 136615
Diffstat (limited to 'src/cryptonote_basic/account.cpp')
| -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() |
