remove unneeded optionals

This commit is contained in:
Mayukha Vadari
2026-07-08 09:29:14 -04:00
parent 9519c16427
commit dce39d9fb5

View File

@@ -53,8 +53,8 @@ static std::uint32_t
confineOwnerCount(
std::uint32_t currentOwnerCount,
std::int32_t ownerCountAdj,
std::optional<AccountID> const& id = std::nullopt,
beast::Journal j = beast::Journal{beast::Journal::getNullSink()})
std::optional<AccountID> const& id,
beast::Journal j)
{
std::uint32_t totalOwnerCount{currentOwnerCount + ownerCountAdj};
if (ownerCountAdj > 0)