Skip equihash test for regrets

This commit is contained in:
jl777
2018-05-30 03:01:05 -11:00
parent 1afc2472d0
commit 525c7b98a9

View File

@@ -86,6 +86,8 @@ bool CheckEquihashSolution(const CBlockHeader *pblock, const CChainParams& param
unsigned int n = params.EquihashN();
unsigned int k = params.EquihashK();
if ( Params().NetworkIDString() == "regtest" )
return(true);
// Hash state
crypto_generichash_blake2b_state state;
EhInitialiseState(n, k, state);