Tari: fixed the previous fix

This commit is contained in:
SChernykh
2025-07-25 09:49:08 +02:00
parent fb21c917ac
commit a4a0c03517

View File

@@ -287,6 +287,9 @@ void MergeMiningClientTari::on_external_block(const PoolBlock& block)
chain_params.aux_diff = diff;
}
}
else {
m_previousAuxHashesFoundIndex = std::numeric_limits<uint32_t>::max();
}
if (!diff.check_pow(block.m_powHash)) {
LOGINFO(4, "External aux job solution found, but it doesn't have enough PoW (block diff = " << block.m_difficulty << ", Tari diff = " << diff << ')');