mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Ensure fee change transactions have a unique transaction ID
Include the ledger sequence number in fee change transactions to ensure each such transaction has a unique transaction ID. We tolerate the absence of a ledger sequence in fee change transactions so that past fee change transactions remain parseable. Since no live amendment transactions have yet happened, there is no need to tolerate an absent ledger sequence there.
This commit is contained in:
committed by
Nik Bougalis
parent
d721d35a2d
commit
25589bacea
@@ -86,7 +86,7 @@ TxFormats::TxFormats ()
|
||||
SOElement (sfOfferSequence, SOE_REQUIRED);
|
||||
|
||||
add ("EnableAmendment", ttAMENDMENT)
|
||||
<< SOElement (sfLedgerSequence, SOE_OPTIONAL)
|
||||
<< SOElement (sfLedgerSequence, SOE_REQUIRED)
|
||||
<< SOElement (sfAmendment, SOE_REQUIRED)
|
||||
;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user