diff --git a/src/cpp/ripple/SerializeProto.h b/src/cpp/ripple/SerializeProto.h index 5b510e969e..7c88837d3f 100644 --- a/src/cpp/ripple/SerializeProto.h +++ b/src/cpp/ripple/SerializeProto.h @@ -58,6 +58,7 @@ FIELD(FirstLedgerSequence, UINT32, 26) FIELD(LastLedgerSequence, UINT32, 27) FIELD(TransactionIndex, UINT32, 28) + FIELD(OperationLimit, UINT32, 29) // 64-bit integers FIELD(IndexNext, UINT64, 1) diff --git a/src/cpp/ripple/TransactionFormats.cpp b/src/cpp/ripple/TransactionFormats.cpp index 5f0feb40e1..6835178922 100644 --- a/src/cpp/ripple/TransactionFormats.cpp +++ b/src/cpp/ripple/TransactionFormats.cpp @@ -10,6 +10,7 @@ std::map TransactionFormat::byName; << SOElement(sfAccount, SOE_REQUIRED) \ << SOElement(sfSequence, SOE_REQUIRED) \ << SOElement(sfFee, SOE_REQUIRED) \ + << SOElement(sfOperationLimit, SOE_OPTIONAL) \ << SOElement(sfSigningPubKey, SOE_REQUIRED) \ << SOElement(sfTxnSignature, SOE_OPTIONAL)