mirror of
https://github.com/monero-project/monero.git
synced 2025-05-03 20:24:49 -04:00
ringct: check the size of amount_keys is the same as destinations
This commit is contained in:
parent
836669d276
commit
ffd8c41f36
3 changed files with 6 additions and 2 deletions
|
@ -559,6 +559,7 @@ TEST(Serialization, serializes_ringct_types)
|
|||
rct::keyV amount_keys;
|
||||
//add output 500
|
||||
amounts.push_back(500);
|
||||
amount_keys.push_back(rct::hash_to_scalar(rct::zero()));
|
||||
rct::keyV destinations;
|
||||
rct::key Sk, Pk;
|
||||
rct::skpkGen(Sk, Pk);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue