From 7cd52cd448356b64b5f62b035be69258b411c320 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Thu, 3 Jan 2013 12:42:37 -0800 Subject: [PATCH] Since most transactions will likely have zero for the Flags field, make it optional. --- src/cpp/ripple/TransactionFormats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/ripple/TransactionFormats.cpp b/src/cpp/ripple/TransactionFormats.cpp index b428ed764..9c50cd029 100644 --- a/src/cpp/ripple/TransactionFormats.cpp +++ b/src/cpp/ripple/TransactionFormats.cpp @@ -5,7 +5,7 @@ std::map TransactionFormat::byName; #define TF_BASE \ << SOElement(sfTransactionType, SOE_REQUIRED) \ - << SOElement(sfFlags, SOE_REQUIRED) \ + << SOElement(sfFlags, SOE_OPTIONAL) \ << SOElement(sfSourceTag, SOE_OPTIONAL) \ << SOElement(sfAccount, SOE_REQUIRED) \ << SOElement(sfSequence, SOE_REQUIRED) \