You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(config): Conditionally process governance events
The insertNewEpochLedgerEvents function was attempting to process LedgerGovInfo events even
when governance was explicitly disabled in the configuration. This led to a runtime error when
trying to look up governance actions that were never inserted into the database.
This commit fixes the issue by adding a conditional check to the LedgerGovInfo handler, ensuring that
the related database operations are only performed when governance is enabled (ioGov iopts is true).
0 commit comments