Add test for GetNoteDecryptor()

This commit is contained in:
Jack Grigg
2016-08-31 18:57:32 +12:00
parent 1551db870a
commit be86b6c332
2 changed files with 13 additions and 0 deletions

View File

@@ -71,6 +71,7 @@ public:
unsigned char nonce
) const;
friend inline bool operator==(const NoteDecryption& a, const NoteDecryption& b) { return a.sk_enc == b.sk_enc && a.pk_enc == b.pk_enc; }
friend inline bool operator<(const NoteDecryption& a, const NoteDecryption& b) { return a.pk_enc < b.pk_enc; }
};