fix build

This commit is contained in:
Mayukha Vadari
2026-05-27 16:53:31 -04:00
parent 19d1b24714
commit 1ac402f9f9

View File

@@ -1384,8 +1384,8 @@ BookStep<TIn, TOut, TDerived>::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