mirror of
https://github.com/monero-project/monero.git
synced 2025-05-03 22:44:53 -04:00
rct: do not serialize public keys in outPk
They can be reconstructed from vout
This commit is contained in:
parent
83ab3151e8
commit
cf33e1a52a
8 changed files with 87 additions and 34 deletions
|
@ -615,7 +615,8 @@ TEST(Serialization, serializes_ringct_types)
|
|||
ASSERT_TRUE(s0.outPk.size() == s1.outPk.size());
|
||||
for (size_t n = 0; n < s0.outPk.size(); ++n)
|
||||
{
|
||||
ASSERT_TRUE(!memcmp(&s0.outPk[n], &s1.outPk[n], sizeof(s0.outPk[n])));
|
||||
// serialization only does the mask
|
||||
ASSERT_TRUE(!memcmp(&s0.outPk[n].mask, &s1.outPk[n].mask, sizeof(s0.outPk[n].mask)));
|
||||
}
|
||||
|
||||
tx0.set_null();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue