From 9ae8fff6605f3f622c2edd2b8f44c009bee58e6c Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Thu, 26 Apr 2012 18:58:18 -0700 Subject: [PATCH] Don't name the entry. It looks ugly. --- src/SerializedLedger.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SerializedLedger.cpp b/src/SerializedLedger.cpp index b18ffdf99..7cf36ed7e 100644 --- a/src/SerializedLedger.cpp +++ b/src/SerializedLedger.cpp @@ -9,7 +9,7 @@ SerializedLedgerEntry::SerializedLedgerEntry(SerializerIterator& sit, const uint if (mFormat == NULL) throw std::runtime_error("invalid ledger entry type"); mType = mFormat->t_type; mVersion.setValue(type); - mObject = STObject(mFormat->elements, sit, "Entry"); + mObject = STObject(mFormat->elements, sit); } SerializedLedgerEntry::SerializedLedgerEntry(const Serializer& s, const uint256& index) @@ -22,7 +22,7 @@ SerializedLedgerEntry::SerializedLedgerEntry(const Serializer& s, const uint256& if (mFormat == NULL) throw std::runtime_error("invalid ledger entry type"); mType = mFormat->t_type; mVersion.setValue(type); - mObject = STObject(mFormat->elements, sit, "Entry"); + mObject = STObject(mFormat->elements, sit); } SerializedLedgerEntry::SerializedLedgerEntry(LedgerEntryType type) : STObject("LedgerEntry"), mType(type) @@ -30,7 +30,7 @@ SerializedLedgerEntry::SerializedLedgerEntry(LedgerEntryType type) : STObject("L mFormat = getLgrFormat(type); if (mFormat == NULL) throw std::runtime_error("invalid ledger entry type"); mVersion.setValue(static_cast(mFormat->t_type)); - mObject = STObject(mFormat->elements, "Entry"); + mObject = STObject(mFormat->elements); } std::string SerializedLedgerEntry::getFullText() const