mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
fix test
This commit is contained in:
@@ -264,8 +264,8 @@ struct HostFuncImpl_test : public beast::unit_test::suite
|
|||||||
keylet::escrow(env.master, env.seq(env.master));
|
keylet::escrow(env.master, env.seq(env.master));
|
||||||
WasmHostFunctionsImpl hfs(ac, dummyEscrow);
|
WasmHostFunctionsImpl hfs(ac, dummyEscrow);
|
||||||
|
|
||||||
// Use featureSmartEscrow for testing
|
// Use featureTokenEscrow for testing
|
||||||
auto const amendmentId = featureSmartEscrow;
|
auto const amendmentId = featureTokenEscrow;
|
||||||
|
|
||||||
// Test by id
|
// Test by id
|
||||||
{
|
{
|
||||||
@@ -275,7 +275,7 @@ struct HostFuncImpl_test : public beast::unit_test::suite
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Test by name
|
// Test by name
|
||||||
std::string const amendmentName = "SmartEscrow";
|
std::string const amendmentName = "TokenEscrow";
|
||||||
{
|
{
|
||||||
auto const result = hfs.isAmendmentEnabled(amendmentName);
|
auto const result = hfs.isAmendmentEnabled(amendmentName);
|
||||||
BEAST_EXPECT(result.has_value());
|
BEAST_EXPECT(result.has_value());
|
||||||
|
|||||||
Reference in New Issue
Block a user