mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 18:45:52 +00:00
Use 'peek' to indicate a reference to someone else's object.
This commit is contained in:
4
Ledger.h
4
Ledger.h
@@ -79,8 +79,8 @@ public:
|
||||
uint32 getLedgerSeq() const { return mLedgerSeq; }
|
||||
|
||||
// low level functions
|
||||
SHAMap::pointer getTransactionMap() { return mTransactionMap; }
|
||||
SHAMap::pointer getAccountStateMap() { return mAccountStateMap; }
|
||||
SHAMap::pointer peekTransactionMap() { return mTransactionMap; }
|
||||
SHAMap::pointer peekAccountStateMap() { return mAccountStateMap; }
|
||||
|
||||
// mid level functions
|
||||
AccountState::pointer getAccountState(const uint160& acctID);
|
||||
|
||||
Reference in New Issue
Block a user