diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-10-29 13:33:08 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-10-29 13:33:48 +0100 |
commit | ffd8c41f36dc38db96bef169dbe2bfe20652d8f8 (patch) | |
tree | 69d8834549486396f8be36d5fe14574fe71e707d /tests/unit_tests/serialization.cpp | |
parent | ringct: always shutdown the boost io service (diff) | |
download | monero-ffd8c41f36dc38db96bef169dbe2bfe20652d8f8.tar.xz |
ringct: check the size of amount_keys is the same as destinations
Diffstat (limited to 'tests/unit_tests/serialization.cpp')
-rw-r--r-- | tests/unit_tests/serialization.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit_tests/serialization.cpp b/tests/unit_tests/serialization.cpp index f51f9ec67..dc7f7cb06 100644 --- a/tests/unit_tests/serialization.cpp +++ b/tests/unit_tests/serialization.cpp @@ -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); |