diff --git a/neo-cli/CLI/MainService.cs b/neo-cli/CLI/MainService.cs index 727ac1f10..712367078 100644 --- a/neo-cli/CLI/MainService.cs +++ b/neo-cli/CLI/MainService.cs @@ -341,6 +341,8 @@ public async void Start(string[] args) break; } + Plugin.AddService(this); + _ = new Logger(); NeoSystem = new NeoSystem(Settings.Default.Storage.Engine); diff --git a/neo-cli/neo-cli.csproj b/neo-cli/neo-cli.csproj index 94e3b3363..b269d72e6 100644 --- a/neo-cli/neo-cli.csproj +++ b/neo-cli/neo-cli.csproj @@ -28,7 +28,7 @@ - +