mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Missing from previous commits.
This commit is contained in:
@@ -89,6 +89,17 @@ Json::Value TMNEAmount::getJson(int v) const
|
||||
return outer;
|
||||
}
|
||||
|
||||
int TMNEAmount::compare(const TransactionMetaNodeEntry& e) const
|
||||
{
|
||||
assert(getType() != e.getType());
|
||||
return getType() - e.getType();
|
||||
}
|
||||
|
||||
TMNEAccount::TMNEAccount(int type, SerializerIterator& sit) : TransactionMetaNodeEntry(type)
|
||||
{
|
||||
mPrevAccount = sit.get256();
|
||||
}
|
||||
|
||||
void TMNEAccount::addRaw(Serializer& sit) const
|
||||
{
|
||||
sit.add8(mType);
|
||||
|
||||
Reference in New Issue
Block a user