mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 14:35:52 +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_)
|
if (!id_)
|
||||||
Throw<std::runtime_error>("MPT has not been created");
|
Throw<std::runtime_error>("MPT has not been created");
|
||||||
auto const key = holder_ ? keylet::mptoken(*id_, holder_->id()).untyped()
|
auto const key = holder_ ? keylet::mptoken(*id_, holder_->id())
|
||||||
: keylet::mptIssuance(*id_).untyped();
|
: keylet::mptIssuance(*id_);
|
||||||
if (auto const sle = env_.le(key))
|
if (auto const sle = env_.le(key.untyped()))
|
||||||
return cb(sle);
|
return cb(sle);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user