Currently, XOnlyPubKey::GetKeyIDs()
has vector
as return type, but always returns a pair of public key IDs.
This PR changes the code for readability reasons. There may be negligible efficiency gains, but the goal is to make the code more readable and to make the intent of the function clear. There is no change in behavior.