mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Make sure we don't use an invalid LES. (Adds asserts.)
This commit is contained in:
@@ -78,6 +78,8 @@ public:
|
||||
LedgerEntrySet duplicate() const; // Make a duplicate of this set
|
||||
void setTo(const LedgerEntrySet&); // Set this set to have the same contents as another
|
||||
void swapWith(LedgerEntrySet&); // Swap the contents of two sets
|
||||
void invalidate() { mLedger.reset(); }
|
||||
bool isValid() const { return !!mLedger; }
|
||||
|
||||
int getSeq() const { return mSeq; }
|
||||
TransactionEngineParams getParams() const { return mParams; }
|
||||
|
||||
Reference in New Issue
Block a user