-
Notifications
You must be signed in to change notification settings - Fork 503
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
exp/ingest/io: Fix LedgerTransactionReader tx meta check (#2936)
Due to a bug in Stellar-Core (more info in #2099) we check if the meta version is at least 2 for protocol version < 10. However, some backend like `HistoryArchiveBackend` do not return tx meta. For such backends we should skip the check. The check is safe because each transaction has fee changes associated with it so it will be empty if no meta is available.
- Loading branch information
Showing
2 changed files
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters