diff --git a/ingest/change.go b/ingest/change.go index 99e9000496..432cadaa9a 100644 --- a/ingest/change.go +++ b/ingest/change.go @@ -54,10 +54,11 @@ import ( // and won't be used when the change is compacted. // // - Tx: A reference to the LedgerTransaction that caused the change. +// Contains information about Transaction, Hash, TxResultPair etc // // - Lcm: The LedgerCloseMeta that precipitated the change. // This is useful only when the Change is caused by an upgrade or by an eviction, i.e. outside a Transaction -// For changes caused by transaction or operations, look at the LedgerTransaction entity within Change +// For changes caused by transaction or operations, look at the Tx field // // - LedgerUpgrade: Information about the upgrade, if the change occurred as part of an upgrade. type Change struct { diff --git a/ingest/ledger_transaction.go b/ingest/ledger_transaction.go index ca255e3711..79f7c7b275 100644 --- a/ingest/ledger_transaction.go +++ b/ingest/ledger_transaction.go @@ -41,7 +41,6 @@ func (t *LedgerTransaction) getTransactionChanges(ledgerEntryChanges xdr.LedgerE for _, change := range changes { change.Reason = Transaction change.Tx = t - change.Lcm = t.Lcm } return changes } @@ -174,7 +173,6 @@ func (t *LedgerTransaction) operationChanges(ops []xdr.OperationMeta, index uint change.Reason = Operation change.Tx = t change.OperationIdx = index - change.Lcm = t.Lcm } return changes }