diff --git a/src/ripple/protocol/STObject.h b/src/ripple/protocol/STObject.h index be28b78e2..4a51d6e88 100644 --- a/src/ripple/protocol/STObject.h +++ b/src/ripple/protocol/STObject.h @@ -188,7 +188,7 @@ private: OptionalProxy const& lhs, OptionalProxy const& rhs) noexcept { - if (lhs.engaged() != lhs.engaged()) + if (lhs.engaged() != rhs.engaged()) return false; return ! lhs.engaged() || *lhs == *rhs; }