mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Permissioned Domains (XLS-80d) (#5161)
This commit is contained in:
@@ -53,10 +53,7 @@ checkArraySize(Json::Value const& val, unsigned int size)
|
||||
std::uint32_t
|
||||
ownerCount(Env const& env, Account const& account)
|
||||
{
|
||||
std::uint32_t ret{0};
|
||||
if (auto const sleAccount = env.le(account))
|
||||
ret = sleAccount->getFieldU32(sfOwnerCount);
|
||||
return ret;
|
||||
return env.ownerCount(account);
|
||||
}
|
||||
|
||||
/* Path finding */
|
||||
|
||||
Reference in New Issue
Block a user