@ -529,6 +529,8 @@ void dpow_statemachinestart(void *ptr)
{
//printf("abort %s ht.%d due to new checkpoint.%d\n",dp->symbol,checkpoint.blockhash.height,dp->checkpoint.blockhash.height);
dp->ratifying -= bp->isratify;
// set state to finished.
bp->state = 0xffffffff;
free(ptr);
return;
}