aboutsummaryrefslogtreecommitdiff
path: root/src/ringct
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-10-15 17:21:12 +0200
committerRiccardo Spagni <ric@spagni.net>2017-10-15 17:21:12 +0200
commitf7b9f44c1b0d53170fd7f53d37fc67648f3247a2 (patch)
treeafc13a3ee6a049ec78ac234e2d55ff46e992b457 /src/ringct
parentMerge pull request #2548 (diff)
parentSubaddresses (diff)
downloadmonero-f7b9f44c1b0d53170fd7f53d37fc67648f3247a2.tar.xz
Merge pull request #2056
53ad5a0f Subaddresses (kenshi84)
Diffstat (limited to 'src/ringct')
-rw-r--r--src/ringct/rctTypes.h2
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);