I found, in the code, an example of a function that retrieves a public key from a transaction. The comments say that because of a previous bug, the tx may contain more than one public key.
Do I understand correctly that this bug has been fixed, and in order to look for the key in new transactions, I don’t need to check if there may be several keys?
Could somebody please clarify whether it is guaranteed that the variable
two_found here, will always be true in all new transactions?