mirror of
https://github.com/monero-project/monero.git
synced 2025-11-26 12:06:28 -05:00
Merge pull request #3851
a87980f fix build with GCC 8.1.0 (moneromooo-monero)
This commit is contained in:
commit
9a3bd88b9f
3 changed files with 4 additions and 2 deletions
|
|
@ -157,7 +157,7 @@ DISABLE_VS_WARNINGS(4244 4345)
|
|||
void account_base::create_from_viewkey(const cryptonote::account_public_address& address, const crypto::secret_key& viewkey)
|
||||
{
|
||||
crypto::secret_key fake;
|
||||
memset(&fake, 0, sizeof(fake));
|
||||
memset(&unwrap(fake), 0, sizeof(fake));
|
||||
create_from_keys(address, fake, viewkey);
|
||||
}
|
||||
//-----------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue