mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-28 23:15:52 +00:00
Remove unused / redundant functions.
This commit is contained in:
committed by
Nik Bougalis
parent
11d28c4856
commit
6e3f07ddce
@@ -197,15 +197,6 @@ public:
|
|||||||
mLastValidation = v;
|
mLastValidation = v;
|
||||||
}
|
}
|
||||||
|
|
||||||
SLE::pointer getSLE (Ledger::pointer lpLedger, uint256 const& uHash)
|
|
||||||
{
|
|
||||||
return lpLedger->getSLE (uHash);
|
|
||||||
}
|
|
||||||
SLE::pointer getSLEi (Ledger::pointer lpLedger, uint256 const& uHash)
|
|
||||||
{
|
|
||||||
return lpLedger->getSLEi (uHash);
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Transaction operations
|
// Transaction operations
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -137,8 +137,6 @@ public:
|
|||||||
|
|
||||||
virtual STValidation::ref getLastValidation () = 0;
|
virtual STValidation::ref getLastValidation () = 0;
|
||||||
virtual void setLastValidation (STValidation::ref v) = 0;
|
virtual void setLastValidation (STValidation::ref v) = 0;
|
||||||
virtual SLE::pointer getSLE (Ledger::pointer lpLedger, uint256 const& uHash) = 0;
|
|
||||||
virtual SLE::pointer getSLEi (Ledger::pointer lpLedger, uint256 const& uHash) = 0;
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------
|
//--------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -207,7 +207,7 @@ Json::Value doLedgerEntry (RPC::Context& context)
|
|||||||
|
|
||||||
if (uNodeIndex.isNonZero ())
|
if (uNodeIndex.isNonZero ())
|
||||||
{
|
{
|
||||||
auto sleNode = context.netOps.getSLEi (lpLedger, uNodeIndex);
|
auto sleNode = lpLedger->getSLEi(uNodeIndex);
|
||||||
|
|
||||||
if (context.params.isMember(jss::binary))
|
if (context.params.isMember(jss::binary))
|
||||||
bNodeBinary = context.params[jss::binary].asBool();
|
bNodeBinary = context.params[jss::binary].asBool();
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ bool LedgerFacade::hasAccountRoot () const
|
|||||||
return true;
|
return true;
|
||||||
|
|
||||||
SLE::pointer const sleAccountRoot =
|
SLE::pointer const sleAccountRoot =
|
||||||
netOPs_->getSLEi (ledger_, getAccountRootIndex (accountID_));
|
ledger_->getSLEi(getAccountRootIndex(accountID_));
|
||||||
|
|
||||||
return static_cast <bool> (sleAccountRoot);
|
return static_cast <bool> (sleAccountRoot);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user