Skip to content

Commit

Permalink
fix(nodebuilder/blob): use state module instead of the state accessor…
Browse files Browse the repository at this point in the history
… in the module construction (celestiaorg#3254)

Resolves celestiaorg#3244
  • Loading branch information
vgonkivs authored and renaynay committed Apr 3, 2024
1 parent a15c15b commit c77eae0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nodebuilder/blob/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"github.com/celestiaorg/celestia-node/blob"
"github.com/celestiaorg/celestia-node/header"
headerService "github.com/celestiaorg/celestia-node/nodebuilder/header"
"github.com/celestiaorg/celestia-node/nodebuilder/state"
"github.com/celestiaorg/celestia-node/share"
"github.com/celestiaorg/celestia-node/state"
)

func ConstructModule() fx.Option {
Expand All @@ -19,7 +19,7 @@ func ConstructModule() fx.Option {
return service.GetByHeight
}),
fx.Provide(func(
state *state.CoreAccessor,
state state.Module,
sGetter share.Getter,
getByHeightFn func(context.Context, uint64) (*header.ExtendedHeader, error),
) Module {
Expand Down

0 comments on commit c77eae0

Please sign in to comment.