mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Type comparison is handled in higher-level code and not needed at the bottom.
This commit is contained in:
@@ -91,8 +91,8 @@ Json::Value TMNEAmount::getJson(int v) const
|
||||
|
||||
int TMNEAmount::compare(const TransactionMetaNodeEntry& e) const
|
||||
{
|
||||
assert(getType() != e.getType());
|
||||
return getType() - e.getType();
|
||||
assert(false); // can't be two changed amounts of same type
|
||||
return 0;
|
||||
}
|
||||
|
||||
TMNEAccount::TMNEAccount(int type, SerializerIterator& sit) : TransactionMetaNodeEntry(type)
|
||||
|
||||
Reference in New Issue
Block a user