Tolerate LedgerSequence field in pseudo-transactions:

This will enable a forthcoming change to prevent pseudo-transactions
from reusing a transaction ID
This commit is contained in:
JoelKatz
2015-03-15 15:58:56 -07:00
committed by Nik Bougalis
parent cba19d7e23
commit f813cb2310

View File

@@ -66,10 +66,12 @@ TxFormats::TxFormats ()
;
add ("EnableAmendment", ttAMENDMENT)
<< SOElement (sfLedgerSequence, SOE_OPTIONAL)
<< SOElement (sfAmendment, SOE_REQUIRED)
;
add ("SetFee", ttFEE)
<< SOElement (sfLedgerSequence, SOE_OPTIONAL)
<< SOElement (sfBaseFee, SOE_REQUIRED)
<< SOElement (sfReferenceFeeUnits, SOE_REQUIRED)
<< SOElement (sfReserveBase, SOE_REQUIRED)