diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-10-15 17:21:12 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-10-15 17:21:12 +0200 |
commit | f7b9f44c1b0d53170fd7f53d37fc67648f3247a2 (patch) | |
tree | afc13a3ee6a049ec78ac234e2d55ff46e992b457 /src/ringct | |
parent | Merge pull request #2548 (diff) | |
parent | Subaddresses (diff) | |
download | monero-f7b9f44c1b0d53170fd7f53d37fc67648f3247a2.tar.xz |
Merge pull request #2056
53ad5a0f Subaddresses (kenshi84)
Diffstat (limited to 'src/ringct')
-rw-r--r-- | src/ringct/rctTypes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ringct/rctTypes.h b/src/ringct/rctTypes.h index c820fb297..cc0000ad6 100644 --- a/src/ringct/rctTypes.h +++ b/src/ringct/rctTypes.h @@ -445,9 +445,11 @@ namespace cryptonote { static inline bool operator!=(const crypto::secret_key &k0, const rct::key &k1) { return memcmp(&k0, &k1, 32); } } +namespace rct { inline std::ostream &operator <<(std::ostream &o, const rct::key &v) { epee::to_hex::formatted(o, epee::as_byte_span(v)); return o; } +} BLOB_SERIALIZER(rct::key); |