Since most transactions will likely have zero for the Flags field, make it optional.

This commit is contained in:
JoelKatz
2013-01-03 12:42:37 -08:00
parent 8f5aa1a810
commit 7cd52cd448

View File

@@ -5,7 +5,7 @@ std::map<std::string, TransactionFormat*> TransactionFormat::byName;
#define TF_BASE \ #define TF_BASE \
<< SOElement(sfTransactionType, SOE_REQUIRED) \ << SOElement(sfTransactionType, SOE_REQUIRED) \
<< SOElement(sfFlags, SOE_REQUIRED) \ << SOElement(sfFlags, SOE_OPTIONAL) \
<< SOElement(sfSourceTag, SOE_OPTIONAL) \ << SOElement(sfSourceTag, SOE_OPTIONAL) \
<< SOElement(sfAccount, SOE_REQUIRED) \ << SOElement(sfAccount, SOE_REQUIRED) \
<< SOElement(sfSequence, SOE_REQUIRED) \ << SOElement(sfSequence, SOE_REQUIRED) \