mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
fix test failure
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -18,6 +18,7 @@ ripple::Buffer
|
||||
generatePlaceholderCiphertext()
|
||||
{
|
||||
Buffer buf(ecGamalEncryptedTotalLength);
|
||||
std::memset(buf.data(), 0, ecGamalEncryptedTotalLength);
|
||||
|
||||
buf.data()[0] = 0x02;
|
||||
buf.data()[ecGamalEncryptedLength] = 0x02;
|
||||
|
||||
Reference in New Issue
Block a user