diff --git a/src/cpp/ripple/LedgerFormats.cpp b/src/cpp/ripple/LedgerFormats.cpp index e727afc589..1311a63c84 100644 --- a/src/cpp/ripple/LedgerFormats.cpp +++ b/src/cpp/ripple/LedgerFormats.cpp @@ -99,7 +99,7 @@ static bool LEFInit() ; DECLARE_LEF(EnabledFeatures, ltFEATURES) - << SOElement(sfEnabledFeatures, SOE_REQUIRED) + << SOElement(sfFeatures, SOE_REQUIRED) ; return true; diff --git a/src/cpp/ripple/SerializeProto.h b/src/cpp/ripple/SerializeProto.h index dc736adfc9..5b510e969e 100644 --- a/src/cpp/ripple/SerializeProto.h +++ b/src/cpp/ripple/SerializeProto.h @@ -155,6 +155,6 @@ FIELD(Necessary, ARRAY, 6) FIELD(Sufficient, ARRAY, 7) FIELD(AffectedNodes, ARRAY, 8) - FIELD(EnabledFeatures, ARRAY, 9) + FIELD(Features, ARRAY, 9) // vim:ts=4 diff --git a/src/cpp/ripple/SerializedValidation.cpp b/src/cpp/ripple/SerializedValidation.cpp index c344e10029..c580e1a266 100644 --- a/src/cpp/ripple/SerializedValidation.cpp +++ b/src/cpp/ripple/SerializedValidation.cpp @@ -16,6 +16,7 @@ static bool SVFInit() sValidationFormat.push_back(new SOElement(sfCloseTime, SOE_OPTIONAL)); sValidationFormat.push_back(new SOElement(sfLoadFee, SOE_OPTIONAL)); sValidationFormat.push_back(new SOElement(sfBaseFee, SOE_OPTIONAL)); + sValidationFormat.push_back(new SOElement(sfFeatures, SOE_OPTIONAL)); sValidationFormat.push_back(new SOElement(sfSigningTime, SOE_REQUIRED)); sValidationFormat.push_back(new SOElement(sfSigningPubKey, SOE_REQUIRED)); sValidationFormat.push_back(new SOElement(sfSignature, SOE_OPTIONAL));