Change memo field size and relocate ciphertexts field of JoinSplit description.
This commit is contained in:
@@ -29,8 +29,8 @@ TEST(noteencryption, api)
|
||||
ASSERT_TRUE(b.get_epk() != c.get_epk());
|
||||
}
|
||||
|
||||
boost::array<unsigned char, 201> message;
|
||||
for (unsigned char i = 0; i < 201; i++) {
|
||||
boost::array<unsigned char, ZC_NOTEPLAINTEXT_SIZE> message;
|
||||
for (size_t i = 0; i < ZC_NOTEPLAINTEXT_SIZE; i++) {
|
||||
// Fill the message with dummy data
|
||||
message[i] = (unsigned char) i;
|
||||
}
|
||||
@@ -195,4 +195,4 @@ TEST(noteencryption, prf_rho)
|
||||
TEST(noteencryption, uint252)
|
||||
{
|
||||
ASSERT_THROW(uint252(uint256S("f6da8716682d600f74fc16bd0187faad6a26b4aa4c24d5c055b216d94516847e")), std::domain_error);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user