Skip to content

Commit

Permalink
feat(BUX-498): remove BlockHeader model (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
pawellewandowski98 authored and wregulski committed Feb 2, 2024
1 parent 6eb163c commit 116a725
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 663 deletions.
86 changes: 0 additions & 86 deletions actions/admin/block_headers.go

This file was deleted.

2 changes: 0 additions & 2 deletions actions/admin/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ func RegisterRoutes(router *apirouter.Router, appConfig *config.AppConfig, servi
router.HTTPRouter.GET("/"+config.APIVersion+"/admin/status", action.Request(router, require.Wrap(action.status)))
router.HTTPRouter.POST("/"+config.APIVersion+"/admin/access-keys/search", action.Request(router, require.Wrap(action.accessKeysSearch)))
router.HTTPRouter.POST("/"+config.APIVersion+"/admin/access-keys/count", action.Request(router, require.Wrap(action.accessKeysCount)))
router.HTTPRouter.POST("/"+config.APIVersion+"/admin/block-headers/search", action.Request(router, require.Wrap(action.blockHeadersSearch)))
router.HTTPRouter.POST("/"+config.APIVersion+"/admin/block-headers/count", action.Request(router, require.Wrap(action.blockHeadersCount)))
router.HTTPRouter.POST("/"+config.APIVersion+"/admin/destinations/search", action.Request(router, require.Wrap(action.destinationsSearch)))
router.HTTPRouter.POST("/"+config.APIVersion+"/admin/destinations/count", action.Request(router, require.Wrap(action.destinationsCount)))
router.HTTPRouter.POST("/"+config.APIVersion+"/admin/paymail/get", action.Request(router, require.Wrap(action.paymailGetAddress)))
Expand Down
4 changes: 0 additions & 4 deletions config/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,6 @@ func (s *AppServices) loadBux(ctx context.Context, appConfig *AppConfig, testMod

options = append(options, bux.WithUserAgent(appConfig.GetUserAgent()))

if appConfig.ImportBlockHeaders != "" {
options = append(options, bux.WithImportBlockHeaders(appConfig.ImportBlockHeaders))
}

if logger != nil {
buxLogger := logger.With().Str("service", "bux").Logger()
options = append(options, bux.WithLogger(&buxLogger))
Expand Down
Loading

0 comments on commit 116a725

Please sign in to comment.