mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-12-22 11:29:23 +00:00
Fixed cppcheck error
This commit is contained in:
parent
aacee86563
commit
8a2a9a99a9
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ void BlockTemplate::update(const MinerData& data, const Mempool& mempool, const
|
||||||
if (shares) {
|
if (shares) {
|
||||||
const MinerShare* src = &s[0];
|
const MinerShare* src = &s[0];
|
||||||
std::pair<hash, hash>* dst = shares;
|
std::pair<hash, hash>* dst = shares;
|
||||||
std::pair<hash, hash>* e = shares + N;
|
const std::pair<hash, hash>* e = shares + N;
|
||||||
|
|
||||||
for (; dst < e; ++src, ++dst) {
|
for (; dst < e; ++src, ++dst) {
|
||||||
const Wallet* w = src->m_wallet;
|
const Wallet* w = src->m_wallet;
|
||||||
|
|
Loading…
Reference in a new issue