From 1ac402f9f9cb0d965a19d047d22ee6ee38cb831b Mon Sep 17 00:00:00 2001 From: Mayukha Vadari Date: Wed, 27 May 2026 16:53:31 -0400 Subject: [PATCH] fix build --- src/libxrpl/tx/paths/BookStep.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libxrpl/tx/paths/BookStep.cpp b/src/libxrpl/tx/paths/BookStep.cpp index ecee0d7e2a..bfdcaeb2a5 100644 --- a/src/libxrpl/tx/paths/BookStep.cpp +++ b/src/libxrpl/tx/paths/BookStep.cpp @@ -1384,8 +1384,8 @@ BookStep::rate( AccountID const& dstAccount) const { return asset.visit( - [&](Issue const&) { return AccountRoot(issuer, view).transferRate(); }, - [&](MPTIssue const& issue) { + [&](Issue const& issue) { return AccountRoot(issue.account, view).transferRate(); }, + [&](MPTIssue const& mptIssue) { // For MPT, parity applies only when this asset is the final strand // delivery AND the destination is the MPT issuer (holder → issuer, // which is fee-free). Using strandDst_ alone is wrong because it