Skip to content

Commit

Permalink
chore: add TECHDEBT comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanchriswhite committed Jun 29, 2023
1 parent 5793b7f commit 95a3948
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions p2p/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,9 @@ func (m *p2pModule) setupCurrentHeightProvider() error {
m.logger.Debug().Msg("setupCurrentHeightProvider")
currentHeightProviderModule, err := m.GetBus().GetModulesRegistry().GetModule(current_height_provider.ModuleName)
if err != nil {
// TECHDEBT(#810): add a `consensusCurrentHeightProvider` submodule to wrap
// the consensus module usage (similar to how `persistencePeerstoreProvider`
// wraps persistence).
currentHeightProviderModule = m.GetBus().GetConsensusModule()
}

Expand Down

0 comments on commit 95a3948

Please sign in to comment.