Fix test failures

Signed-off-by: JCW <a1q123456@users.noreply.github.com>
This commit is contained in:
JCW
2026-03-12 14:07:07 +00:00
parent 7ed3277b89
commit e50f8f591b
2 changed files with 6 additions and 6 deletions

View File

@@ -78,21 +78,21 @@ public:
* @brief Returns the state map key for the ledger entry.
* @return The key (hash) of the RippleState entry.
*/
uint256 const&
uint256
key() const;
/**
* @brief Get our account ID.
* @return The account ID from whose perspective this line is viewed.
*/
AccountID const&
AccountID
getAccountID() const;
/**
* @brief Get the peer's account ID.
* @return The account ID of the other party on this trust line.
*/
AccountID const&
AccountID
getAccountIDPeer() const;
/**

View File

@@ -40,20 +40,20 @@ TrustLine::getItems(AccountID const& accountID, ReadView const& view, LineDirect
return items;
}
uint256 const&
uint256
TrustLine::key() const
{
return rippleState_.getSle()->key();
}
AccountID const&
AccountID
TrustLine::getAccountID() const
{
return viewLowest_ ? rippleState_.getLowLimit().getIssuer()
: rippleState_.getHighLimit().getIssuer();
}
AccountID const&
AccountID
TrustLine::getAccountIDPeer() const
{
return !viewLowest_ ? rippleState_.getLowLimit().getIssuer()