fix test failure

This commit is contained in:
yinyiqian1
2025-12-08 17:34:20 -05:00
parent d9da8733be
commit 6dece25cc3
2 changed files with 3 additions and 1 deletions

View File

@@ -571,7 +571,8 @@ class MPToken_test : public beast::unit_test::suite
.err = temINVALID_FLAG});
if (!features[featureSingleAssetVault] &&
!features[featureDynamicMPT])
!features[featureDynamicMPT] &&
!features[featureConfidentialTransfer])
{
// test invalid flags - nothing is being changed
mptAlice.set(

View File

@@ -18,6 +18,7 @@ ripple::Buffer
generatePlaceholderCiphertext()
{
Buffer buf(ecGamalEncryptedTotalLength);
std::memset(buf.data(), 0, ecGamalEncryptedTotalLength);
buf.data()[0] = 0x02;
buf.data()[ecGamalEncryptedLength] = 0x02;