Skip to content

Commit

Permalink
an attempt to fix issue #78
Browse files Browse the repository at this point in the history
  • Loading branch information
sowle committed Aug 5, 2018
1 parent 4ca8ec2 commit fdada1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/currency_core/account.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ DISABLE_VS_WARNINGS(4244 4345)
dependent_key(m_keys.m_spend_secret_key, m_keys.m_view_secret_key);
if (!crypto::secret_key_to_public_key(m_keys.m_view_secret_key, m_keys.m_account_address.m_view_public_key))
throw std::runtime_error("Failed to create public view key");
m_creation_timestamp = time(NULL);
m_creation_timestamp = 0; // if an account has been just restored we can't certainly say when it was created
}
//-----------------------------------------------------------------
const account_keys& account_base::get_keys() const
Expand Down

0 comments on commit fdada1b

Please sign in to comment.