mirror of https://github.com/SChernykh/p2pool
Fixed cppcheck error
parent
a92ca028b1
commit
8eb5f86e9a
|
@ -219,8 +219,8 @@ public:
|
||||||
{
|
{
|
||||||
WriteLock lock(derivations_lock);
|
WriteLock lock(derivations_lock);
|
||||||
|
|
||||||
DerivationEntry& entry = derivations->emplace(index, DerivationEntry{ derivation, { 0xFFFFFFFFUL, 0xFFFFFFFFUL }, {}, t }).first->second;
|
auto entry = derivations->emplace(index, DerivationEntry{ derivation, { 0xFFFFFFFFUL, 0xFFFFFFFFUL }, {}, t }).first;
|
||||||
entry.add_view_tag(static_cast<uint32_t>(output_index << 8) | view_tag);
|
entry->second.add_view_tag(static_cast<uint32_t>(output_index << 8) | view_tag);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue