jl777 8 years ago
parent
commit
8634b09a2e
  1. 2
      iguana/iguana_notary.c

2
iguana/iguana_notary.c

@ -727,9 +727,9 @@ void dpow_fifoupdate(struct supernet_info *myinfo,struct dpow_checkpoint *fifo,s
{
if ( (offset= (tip.blockhash.height - fifo[i].blockhash.height)) >= 0 && offset < DPOW_FIFOSIZE )
{
printf("[offset %d = (%d - %d)] <- i.%d\n",offset,tip.blockhash.height,fifo[i].blockhash.height,i);
newfifo[offset] = fifo[i];
}
printf("[offset %d = (%d - %d)] <- i.%d\n",offset,tip.blockhash.height,fifo[i].blockhash.height,i);
}
newfifo[0] = tip;
memcpy(fifo,newfifo,sizeof(newfifo));

Loading…
Cancel
Save