This commit is contained in:
jl777
2016-10-18 15:10:13 -03:00
parent a55840cbb4
commit 08702b036b
2 changed files with 2 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ int32_t komodo_blockindexcheck(CBlockIndex *pindex,uint32_t *nBitsp)
return(0);
}
void komodo_connectblock(CBlockIndex *pindex,const CBlock& block)
void komodo_connectblock(CBlockIndex *pindex,CBlock& block)
{
char *scriptstr; int32_t i,j,height,txn_count,len,flag = 0;
// update voting results and official (height, notaries[])

View File

@@ -2221,7 +2221,7 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin
int64_t nTime4 = GetTimeMicros(); nTimeCallbacks += nTime4 - nTime3;
LogPrint("bench", " - Callbacks: %.2fms [%.2fs]\n", 0.001 * (nTime4 - nTime3), nTimeCallbacks * 0.000001);
komodo_connectblock(pindex,block);
komodo_connectblock(pindex,*(CBlock *)&block);
return true;
}