mirror of
https://github.com/monero-project/monero.git
synced 2025-05-06 14:15:05 -04:00
rct: add the tx prefix hash into the MLSAG
to protect the non-signatures parts of the tx from tampering.
This commit is contained in:
parent
35dce5c70c
commit
6d0e47148b
6 changed files with 43 additions and 9 deletions
|
@ -565,7 +565,7 @@ TEST(Serialization, serializes_ringct_types)
|
|||
rct::skpkGen(Sk, Pk);
|
||||
destinations.push_back(Pk);
|
||||
//compute rct data with mixin 500
|
||||
s0 = rct::genRct(sc, pc, destinations, amounts, 3);
|
||||
s0 = rct::genRct(sc, pc, destinations, amounts, rct::zero(), 3);
|
||||
|
||||
mg0 = s0.MG;
|
||||
ASSERT_TRUE(serialization::dump_binary(mg0, blob));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue