Merge branch 'master' into merge-mining

This commit is contained in:
SChernykh 2024-01-31 20:01:13 +01:00
commit 94496c3dde

View file

@ -286,7 +286,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;