mirror of
https://github.com/SChernykh/p2pool.git
synced 2025-01-07 11:19:26 +00:00
Fixed cppcheck error
This commit is contained in:
parent
bc0634a541
commit
1069d1c066
1 changed files with 2 additions and 1 deletions
|
@ -168,7 +168,8 @@ SideChain::SideChain(p2pool* pool, NetworkType type, const char* pool_name)
|
||||||
|
|
||||||
// Hide most consensus ID bytes, we only want it on screen to show that we're on the right sidechain
|
// Hide most consensus ID bytes, we only want it on screen to show that we're on the right sidechain
|
||||||
memset(buf + 8, '*', HASH_SIZE * 2 - 16);
|
memset(buf + 8, '*', HASH_SIZE * 2 - 16);
|
||||||
m_consensusIdDisplayStr.assign(buf);
|
m_consensusIdDisplayStr = buf;
|
||||||
|
|
||||||
LOGINFO(1, "consensus ID = " << log::LightCyan() << m_consensusIdDisplayStr.c_str());
|
LOGINFO(1, "consensus ID = " << log::LightCyan() << m_consensusIdDisplayStr.c_str());
|
||||||
|
|
||||||
memcpy(m_consensusHash.h, m_consensusId.data(), HASH_SIZE);
|
memcpy(m_consensusHash.h, m_consensusId.data(), HASH_SIZE);
|
||||||
|
|
Loading…
Reference in a new issue