fn pending_auth( pending: BTreeSet<OwnedEventId>, visited: &BTreeSet<OwnedEventId>, pdu: &PduEvent, ) -> BTreeSet<OwnedEventId>