mirror of
https://github.com/monero-project/monero.git
synced 2025-12-22 07:10:46 -08:00
ringct: check the size of amount_keys is the same as destinations
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user