Skip to content

Commit

Permalink
Use the higher max target
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan-M-Smith committed Aug 29, 2022
1 parent f4f339a commit 9f2b7ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blockchain.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class Blockchain {

private:
// "0x00000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
const int256_t MAX_TARGET {"0x00fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"};
const int256_t MAX_TARGET {"0x00000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"};
double m_Difficulty = 1;
cpp_dec_float_50 m_Target = boost::lexical_cast<cpp_dec_float_50>(MAX_TARGET) / boost::lexical_cast<cpp_dec_float_50>(m_Difficulty);

Expand Down

0 comments on commit 9f2b7ac

Please sign in to comment.