Merge remote-tracking branch 'jl/dev' into momo

This commit is contained in:
Scott Sadler
2018-05-30 21:34:07 -03:00
14 changed files with 90 additions and 109 deletions

View File

@@ -25,6 +25,7 @@ uint256 komodo_calcMoM(int32_t height,int32_t MoMdepth)
{
static uint256 zero; CBlockIndex *pindex; int32_t i; std::vector<uint256> tree, leaves;
bool fMutated;
MoMdepth &= 0xffff;
if ( MoMdepth >= height )
return(zero);
for (i=0; i<MoMdepth; i++)