github.com/celestiaorg/celestia-node@v0.15.0-beta.1/nodebuilder/state/opts.go (about)

     1  package state
     2  
     3  import (
     4  	"go.uber.org/fx"
     5  
     6  	"github.com/celestiaorg/celestia-app/x/blob/types"
     7  )
     8  
     9  // WithKeyringSigner overrides the default keyring signer constructed
    10  // by the node.
    11  func WithKeyringSigner(signer *types.KeyringSigner) fx.Option {
    12  	return fx.Replace(signer)
    13  }