Skip to content

Commit

Permalink
Handle account aggregation in STTx
Browse files Browse the repository at this point in the history
  • Loading branch information
gregtatcam committed Feb 22, 2024
1 parent c31dbcf commit 1b7d75d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/ripple/protocol/impl/STTx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,12 @@ STTx::getMentionedAccounts() const
}
else if (auto samt = dynamic_cast<STAmount const*>(&it))
{
auto const& issuer = samt->getIssuer();
if (!isXRP(issuer))
list.insert(issuer);
if (samt->isIssue())
{
auto const& issuer = samt->getIssuer();
if (!isXRP(issuer))
list.insert(issuer);
}
}
}

Expand Down

0 comments on commit 1b7d75d

Please sign in to comment.