mirror of
https://github.com/oxen-io/oxen-core.git
synced 2023-12-14 02:22:56 +01:00
Fix build warning on Mingw
This commit is contained in:
parent
7375725020
commit
9401c0b3b4
|
@ -641,7 +641,7 @@ namespace cryptonote
|
|||
{
|
||||
std::string keystr;
|
||||
bool r = epee::file_io_utils::load_file_to_string(keypath, keystr);
|
||||
memcpy(&unwrap(m_service_node_key), keystr.data(), sizeof(m_service_node_key));
|
||||
memcpy(&unwrap(unwrap(m_service_node_key)), keystr.data(), sizeof(m_service_node_key));
|
||||
wipeable_string wipe(keystr);
|
||||
CHECK_AND_ASSERT_MES(r, false, "failed to load service node key from file");
|
||||
|
||||
|
|
Loading…
Reference in a new issue