diff --git a/processors/utils/utils.go b/processors/utils/utils.go index 34e601f3b6..7288fd21de 100644 --- a/processors/utils/utils.go +++ b/processors/utils/utils.go @@ -22,6 +22,8 @@ func ExtractEntryFromChange(change ingest.Change) (xdr.LedgerEntry, xdr.LedgerEn return *change.Post, changeType, false, nil case xdr.LedgerEntryChangeTypeLedgerEntryRemoved: return *change.Pre, changeType, true, nil + case xdr.LedgerEntryChangeTypeLedgerEntryRestored: + return *change.Post, changeType, false, nil default: return xdr.LedgerEntry{}, changeType, false, fmt.Errorf("unable to extract ledger entry type from change") }