mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 18:45:52 +00:00
Convenience functions, cleanups, and avoid a copy.
This commit is contained in:
@@ -74,7 +74,7 @@ bool HashedObject::store() const
|
||||
return store(mType, mLedgerIndex, mData, mHash);
|
||||
}
|
||||
|
||||
HashedObject::pointer retrieve(const uint256& hash)
|
||||
HashedObject::pointer HashedObject::retrieve(const uint256& hash)
|
||||
{
|
||||
std::string sql="SELECT * from CommitedObjects WHERE Hash='";
|
||||
sql.append(hash.GetHex());
|
||||
|
||||
Reference in New Issue
Block a user