mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Fix test failures
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
/**
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user