From b6534c40e641c957ed4869acf5f58df2be97dcac Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Tue, 8 Jan 2019 23:27:42 +0000 Subject: ringct: remove unused senderPk from ecdhTuple This was an early ringct field, which was never used in production --- tests/unit_tests/device.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/unit_tests/device.cpp') diff --git a/tests/unit_tests/device.cpp b/tests/unit_tests/device.cpp index 064a7028e..c0e8fecc1 100644 --- a/tests/unit_tests/device.cpp +++ b/tests/unit_tests/device.cpp @@ -121,12 +121,10 @@ TEST(device, ecdh32) rct::key key = rct::skGen(); tuple.mask = rct::skGen(); tuple.amount = rct::skGen(); - tuple.senderPk = rct::pkGen(); tuple2 = tuple; dev.ecdhEncode(tuple, key, false); dev.ecdhDecode(tuple, key, false); ASSERT_EQ(tuple2.mask, tuple.mask); ASSERT_EQ(tuple2.amount, tuple.amount); - ASSERT_EQ(tuple2.senderPk, tuple.senderPk); } -- cgit v1.2.3