test
This commit is contained in:
@@ -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[])
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user