aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/serialization.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-01-08 23:27:42 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-01-22 23:17:42 +0000
commitb6534c40e641c957ed4869acf5f58df2be97dcac (patch)
tree25ce8862a0fa64259da34210da1d096ae213869e /tests/unit_tests/serialization.cpp
parentringct: the commitment mask is now deterministic (diff)
downloadmonero-b6534c40e641c957ed4869acf5f58df2be97dcac.tar.xz
ringct: remove unused senderPk from ecdhTuple
This was an early ringct field, which was never used in production
Diffstat (limited to '')
-rw-r--r--tests/unit_tests/serialization.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/unit_tests/serialization.cpp b/tests/unit_tests/serialization.cpp
index 1592f805e..343a11c37 100644
--- a/tests/unit_tests/serialization.cpp
+++ b/tests/unit_tests/serialization.cpp
@@ -550,12 +550,10 @@ TEST(Serialization, serializes_ringct_types)
ecdh0.mask = rct::skGen();
ecdh0.amount = rct::skGen();
- ecdh0.senderPk = rct::skGen();
ASSERT_TRUE(serialization::dump_binary(ecdh0, blob));
ASSERT_TRUE(serialization::parse_binary(blob, ecdh1));
ASSERT_TRUE(!memcmp(&ecdh0.mask, &ecdh1.mask, sizeof(ecdh0.mask)));
ASSERT_TRUE(!memcmp(&ecdh0.amount, &ecdh1.amount, sizeof(ecdh0.amount)));
- // senderPk is not serialized
for (size_t n = 0; n < 64; ++n)
{