Add documentation for `UnifiedAddress::GetPreferredRecipientAddress`

This commit is contained in:
Kris Nuttycombe 2022-01-25 09:15:51 -07:00
parent db104a6329
commit b93155c460
1 changed files with 4 additions and 0 deletions

View File

@ -154,6 +154,10 @@ public:
std::optional<SaplingPaymentAddress> GetSaplingReceiver() const;
/**
* Return the most-preferred receiver from among the receiver types
* that we recognize.
*/
std::optional<RecipientAddress> GetPreferredRecipientAddress() const;
friend inline bool operator==(const UnifiedAddress& a, const UnifiedAddress& b) {