Skip to content

Commit

Permalink
🚧 add MockLightningNetworkService as child of Gakimint Application
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdelStark committed Sep 24, 2024
1 parent 7440233 commit 0b37d24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/gakimint/application.ex
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ defmodule Gakimint.Application do
@moduledoc false
use Application
alias Gakimint.Web.Endpoint
alias Gakimint.Lightning.MockLightningNetworkService

@impl true
def start(_type, _args) do
children = [
Gakimint.Web.Telemetry,
{Phoenix.PubSub, name: Gakimint.PubSub},
Endpoint
Endpoint,
MockLightningNetworkService
]

# Conditionally add the appropriate repo to the children list
Expand Down

0 comments on commit 0b37d24

Please sign in to comment.