mirror of
https://github.com/monero-project/monero.git
synced 2026-01-19 19:12:59 +01:00
account: init creation timestamp to 0
Never actually used uninitialized Coverity 136615
This commit is contained in:
@@ -136,6 +136,7 @@ DISABLE_VS_WARNINGS(4244 4345)
|
|||||||
void account_base::set_null()
|
void account_base::set_null()
|
||||||
{
|
{
|
||||||
m_keys = account_keys();
|
m_keys = account_keys();
|
||||||
|
m_creation_timestamp = 0;
|
||||||
}
|
}
|
||||||
//-----------------------------------------------------------------
|
//-----------------------------------------------------------------
|
||||||
void account_base::forget_spend_key()
|
void account_base::forget_spend_key()
|
||||||
|
|||||||
Reference in New Issue
Block a user