Skip to content
  • Olaoluwa Osuntokun's avatar
    blockchain/indexers: fix bug in indexer re-org catch up · be191ca1
    Olaoluwa Osuntokun authored
    In this commit, we fix an existing bug in the re-org catch up logic for
    the `IndexManager`. Before this commit, we would assign the block to the
    _local_ scope rather than the outer scope. As a result, we would never
    properly bisect the chain to find the fork point to be able to reconcile
    the index state to the main chain only after a re-org occurs.
    
    Fixes #1261
    be191ca1