diff --git a/src/tests/libxrpl/server/NodeIdentity.cpp b/src/tests/libxrpl/server/NodeIdentity.cpp index 086b63bbcf..6c5d1341f3 100644 --- a/src/tests/libxrpl/server/NodeIdentity.cpp +++ b/src/tests/libxrpl/server/NodeIdentity.cpp @@ -34,6 +34,7 @@ #include #include +#include #include #include #include @@ -109,7 +110,7 @@ TEST(WalletNodeIdentity, store_then_read_returns_the_same_pair) auto const stored = readNodeIdentity(*db); ASSERT_TRUE(stored.has_value()); EXPECT_EQ(stored->first, minted.first); - EXPECT_EQ(stored->second, minted.second); + EXPECT_TRUE(std::ranges::equal(stored->second, minted.second)); } TEST(WalletNodeIdentity, store_appends_rather_than_replacing) @@ -159,7 +160,7 @@ TEST(WalletNodeIdentity, clear_then_store_installs_the_new_pair) auto const stored = readNodeIdentity(*db); ASSERT_TRUE(stored.has_value()); EXPECT_EQ(stored->first, replacement.first); - EXPECT_EQ(stored->second, replacement.second); + EXPECT_TRUE(std::ranges::equal(stored->second, replacement.second)); } TEST(WalletNodeIdentity, get_mints_and_persists_when_the_table_is_empty) @@ -341,7 +342,7 @@ TEST(SelectNodeIdentity, returns_stored_when_reader_has_one) EXPECT_TRUE(reader.called); EXPECT_EQ(result.first, storedPair.first); - EXPECT_EQ(result.second, storedPair.second); + EXPECT_TRUE(std::ranges::equal(result.second, storedPair.second)); } TEST(SelectNodeIdentity, mints_when_nothing_stored) diff --git a/src/xrpld/app/main/Application.cpp b/src/xrpld/app/main/Application.cpp index a11a88622a..c0e99695a6 100644 --- a/src/xrpld/app/main/Application.cpp +++ b/src/xrpld/app/main/Application.cpp @@ -48,7 +48,6 @@ #include #include #include -#include #include #include #include