Skip to content

Commit

Permalink
Fixed cppcheck error
Browse files Browse the repository at this point in the history
  • Loading branch information
SChernykh committed Jan 31, 2024
1 parent aacee86 commit 8a2a9a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/block_template.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ void BlockTemplate::update(const MinerData& data, const Mempool& mempool, const
if (shares) {
const MinerShare* src = &s[0];
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) {
const Wallet* w = src->m_wallet;
Expand Down

0 comments on commit 8a2a9a9

Please sign in to comment.