mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Refactor Serializer, SerialIter, SHAMapItem, NodeObject:
* Make LessThan private * Make NodeObject::isSame private * Remove hotTRANSACTION * Remove some Serializer members * Remove unused SHAMapItem::getRaw * Remove unused STLedgerEntry::getOwners * Remove Serializer constructors * Remove unused Serializer members * Remove SerialIter ctor
This commit is contained in:
@@ -979,7 +979,7 @@ PeerImp::onMessage (std::shared_ptr <protocol::TMTransaction> const& m)
|
||||
return;
|
||||
}
|
||||
|
||||
SerialIter sit (m->rawtransaction ());
|
||||
SerialIter sit (make_Slice(m->rawtransaction()));
|
||||
|
||||
try
|
||||
{
|
||||
@@ -1485,7 +1485,7 @@ PeerImp::onMessage (std::shared_ptr <protocol::TMGetObjectByHash> const& m)
|
||||
memcpy (hash.begin (), obj.hash ().data (), 256 / 8);
|
||||
// VFALCO TODO Move this someplace more sensible so we dont
|
||||
// need to inject the NodeStore interfaces.
|
||||
NodeObject::pointer hObj =
|
||||
std::shared_ptr<NodeObject> hObj =
|
||||
getApp().getNodeStore ().fetch (hash);
|
||||
|
||||
if (hObj)
|
||||
|
||||
Reference in New Issue
Block a user