mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-18 18:15:50 +00:00
Address PR comments
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
This commit is contained in:
@@ -312,9 +312,9 @@ MPTTester::forObject(
|
||||
{
|
||||
if (!id_)
|
||||
Throw<std::runtime_error>("MPT has not been created");
|
||||
auto const key = holder_ ? keylet::mptoken(*id_, holder_->id()).untyped()
|
||||
: keylet::mptIssuance(*id_).untyped();
|
||||
if (auto const sle = env_.le(key))
|
||||
auto const key = holder_ ? keylet::mptoken(*id_, holder_->id())
|
||||
: keylet::mptIssuance(*id_);
|
||||
if (auto const sle = env_.le(key.untyped()))
|
||||
return cb(sle);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user