Skip to content

Commit

Permalink
change target value
Browse files Browse the repository at this point in the history
  • Loading branch information
zachchan105 committed Feb 11, 2024
1 parent 6845332 commit 2d1184d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions libethash-cuda/CUDAMiner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -501,11 +501,7 @@ void CUDAMiner::compileKernel(uint64_t period_seed, uint64_t dag_elms, CUfunctio
void CUDAMiner::search(uint8_t const* header, uint64_t target, uint64_t start_nonce, const dev::eth::WorkPackage& w)
{
set_header(*reinterpret_cast<hash32_t const*>(header));
if (m_current_target != target)
{
set_target(target);
m_current_target = target;
}
m_current_target= 0x00000FF0000000;

// If upper 64 bits of target are 0xffffffffffffffff then any nonce would
// be considered valid by GPU. Skip job.
Expand Down

0 comments on commit 2d1184d

Please sign in to comment.