From 6d8babac6da0203126519bf5583d9e3399a8ea5b Mon Sep 17 00:00:00 2001 From: Garand Tyson Date: Fri, 6 Oct 2023 13:59:21 -0700 Subject: [PATCH] Remove unused LedgerCloseMeta struct (#153) --- Stellar-ledger.x | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/Stellar-ledger.x b/Stellar-ledger.x index a1bbac4..b218ae3 100644 --- a/Stellar-ledger.x +++ b/Stellar-ledger.x @@ -486,26 +486,8 @@ struct LedgerCloseMetaV0 struct LedgerCloseMetaV1 { - LedgerHeaderHistoryEntry ledgerHeader; - - GeneralizedTransactionSet txSet; - - // NB: transactions are sorted in apply order here - // fees for all transactions are processed first - // followed by applying transactions - TransactionResultMeta txProcessing<>; - - // upgrades are applied last - UpgradeEntryMeta upgradesProcessing<>; - - // other misc information attached to the ledger close - SCPHistoryEntry scpInfo<>; -}; - -struct LedgerCloseMetaV2 -{ - // We forgot to add an ExtensionPoint in v1 but at least - // we can add one now in v2. + // We forgot to add an ExtensionPoint in v0 but at least + // we can add one now in v1. ExtensionPoint ext; LedgerHeaderHistoryEntry ledgerHeader; @@ -541,7 +523,5 @@ case 0: LedgerCloseMetaV0 v0; case 1: LedgerCloseMetaV1 v1; -case 2: - LedgerCloseMetaV2 v2; }; }