]> Git Repo - VerusCoin.git/commit
Explicitly check the min-difficulty flag against boost::none
authorJack Grigg <[email protected]>
Thu, 4 Oct 2018 22:29:11 +0000 (23:29 +0100)
committerJack Grigg <[email protected]>
Thu, 4 Oct 2018 22:29:11 +0000 (23:29 +0100)
commit4c90270469e32cbf3459ec2fd25d46a089bd5c58
tree61e6d2340d49d79ffd890ef2ce65dc6055e6bdd7
parent1f7ee4af70ece8759f7a4e6d8df9c39284bb1482
Explicitly check the min-difficulty flag against boost::none

It isn't clear how a boost::optional that holds 0 (which is the case for
regtest) is coerced to a boolean, unless you pore over the Boost
documentation. An explicit check is clearer.
src/miner.cpp
src/pow.cpp
This page took 0.024422 seconds and 4 git commands to generate.