Fix sync in bitcoin mode