diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2022-07-13 00:38:29 -0400 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2022-07-13 00:38:29 -0400 |
| commit | 6fed8c2d9f028d9cf175c2e7ce53951cb164b657 (patch) | |
| tree | c2e151884b4aeafb8b42c0fb65a4c7eba68896a4 /tests/unit_tests/serialization.cpp | |
| parent | 8f48f464957c875af3183cd9d35769592e1aef48 (diff) | |
| parent | c7b2944f8960c208ceddeb3075a673630ae000cd (diff) | |
| download | monzero-core-6fed8c2d9f028d9cf175c2e7ce53951cb164b657.tar.gz monzero-core-6fed8c2d9f028d9cf175c2e7ce53951cb164b657.tar.xz monzero-core-6fed8c2d9f028d9cf175c2e7ce53951cb164b657.zip | |
Merge pull request #8149
c7b2944 multisig: fix critical vulnerabilities in signing (anon)
Diffstat (limited to 'tests/unit_tests/serialization.cpp')
| -rw-r--r-- | tests/unit_tests/serialization.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit_tests/serialization.cpp b/tests/unit_tests/serialization.cpp index 9e8a28f7c..87571e5b5 100644 --- a/tests/unit_tests/serialization.cpp +++ b/tests/unit_tests/serialization.cpp @@ -594,7 +594,7 @@ TEST(Serialization, serializes_ringct_types) destinations.push_back(Pk); //compute rct data with mixin 3 const rct::RCTConfig rct_config{ rct::RangeProofPaddedBulletproof, 2 }; - s0 = rct::genRctSimple(rct::zero(), sc, pc, destinations, inamounts, amounts, amount_keys, NULL, NULL, 0, 3, rct_config, hw::get_device("default")); + s0 = rct::genRctSimple(rct::zero(), sc, pc, destinations, inamounts, amounts, amount_keys, 0, 3, rct_config, hw::get_device("default")); ASSERT_FALSE(s0.p.MGs.empty()); ASSERT_TRUE(s0.p.CLSAGs.empty()); @@ -619,7 +619,7 @@ TEST(Serialization, serializes_ringct_types) ASSERT_EQ(bp0, bp1); const rct::RCTConfig rct_config_clsag{ rct::RangeProofPaddedBulletproof, 3 }; - s0 = rct::genRctSimple(rct::zero(), sc, pc, destinations, inamounts, amounts, amount_keys, NULL, NULL, 0, 3, rct_config_clsag, hw::get_device("default")); + s0 = rct::genRctSimple(rct::zero(), sc, pc, destinations, inamounts, amounts, amount_keys, 0, 3, rct_config_clsag, hw::get_device("default")); ASSERT_FALSE(s0.p.CLSAGs.empty()); ASSERT_TRUE(s0.p.MGs.empty()); |
