From b1f5d3c9a71aef99a4bb83f074bc7dff98aac3c2 Mon Sep 17 00:00:00 2001 From: Gregory Tsipenyuk Date: Fri, 10 Jul 2026 12:18:36 -0400 Subject: [PATCH] Clarify MPToken creation on offer consume comment --- src/libxrpl/tx/paths/BookStep.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/libxrpl/tx/paths/BookStep.cpp b/src/libxrpl/tx/paths/BookStep.cpp index 1fb9113c60..601927c49b 100644 --- a/src/libxrpl/tx/paths/BookStep.cpp +++ b/src/libxrpl/tx/paths/BookStep.cpp @@ -920,10 +920,8 @@ BookStep::consumeOffer( if constexpr (std::is_same_v) { // If the offer's TakerPays asset is an MPT, the offer owner must - // hold an MPToken to receive it. Create one here, after the - // consumption decision has been made, so the +1 to ownerCount is - // paired atomically with the -1 that follows when the offer SLE is - // deleted by BookTip::step(). + // hold an MPToken to receive it. Create one here if it doesn't + // already exist. if (auto const err = checkCreateMPT(sb, book_.in.get(), offer.owner(), j_); !isTesSuccess(err)) {