aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-07-28 20:14:15 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-08-28 21:30:01 +0100
commitb337aea6cce707152143750e14b956a8ae40390f (patch)
tree3dd973f9af16b912c02f632100b9f8172d21c8aa /src
parentcore_tests: fix a couple pre-rct tests using rct (diff)
downloadmonero-b337aea6cce707152143750e14b956a8ae40390f.tar.xz
rct: do not serialize senderPk - it is not used anymore
Diffstat (limited to 'src')
-rw-r--r--src/cryptonote_core/cryptonote_boost_serialization.h2
-rw-r--r--src/ringct/rctTypes.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_core/cryptonote_boost_serialization.h b/src/cryptonote_core/cryptonote_boost_serialization.h
index 81f5f081a..f222db94e 100644
--- a/src/cryptonote_core/cryptonote_boost_serialization.h
+++ b/src/cryptonote_core/cryptonote_boost_serialization.h
@@ -219,7 +219,7 @@ namespace boost
{
a & x.mask;
a & x.amount;
- a & x.senderPk;
+ // a & x.senderPk; // not serialized, as we do not use it in monero currently
}
inline void serializeOutPk(boost::archive::binary_iarchive &a, rct::ctkeyV &outPk_, const boost::serialization::version_type ver)
diff --git a/src/ringct/rctTypes.h b/src/ringct/rctTypes.h
index d36d3f1b1..1ba280aba 100644
--- a/src/ringct/rctTypes.h
+++ b/src/ringct/rctTypes.h
@@ -116,7 +116,7 @@ namespace rct {
BEGIN_SERIALIZE_OBJECT()
FIELD(mask)
FIELD(amount)
- FIELD(senderPk)
+ // FIELD(senderPk) // not serialized, as we do not use it in monero currently
END_SERIALIZE()
};