diff --git a/cmd/vigilante/cmd/monitor.go b/cmd/vigilante/cmd/monitor.go index 02fd3cb..6fba578 100644 --- a/cmd/vigilante/cmd/monitor.go +++ b/cmd/vigilante/cmd/monitor.go @@ -81,7 +81,7 @@ func GetMonitorCmd() *cobra.Command { panic(fmt.Errorf("failed to get BTC net params: %w", err)) } btcCfg := btcclient.CfgToBtcNodeBackendConfig(cfg.BTC, "") - btcNotifier, err := btcclient.NewNodeBackend(btcCfg, btcParams, &btcclient.EmptyHintCache{}) // todo(lazar955): check if we should use real cache + btcNotifier, err := btcclient.NewNodeBackend(btcCfg, btcParams, &btcclient.EmptyHintCache{}) if err != nil { panic(fmt.Errorf("failed to initialize notifier: %w", err)) } diff --git a/cmd/vigilante/cmd/reporter.go b/cmd/vigilante/cmd/reporter.go index 25d0eea..3c0e83b 100644 --- a/cmd/vigilante/cmd/reporter.go +++ b/cmd/vigilante/cmd/reporter.go @@ -69,7 +69,7 @@ func GetReporterCmd() *cobra.Command { panic(fmt.Errorf("failed to get BTC net params: %w", err)) } btcCfg := btcclient.CfgToBtcNodeBackendConfig(cfg.BTC, "") - btcNotifier, err := btcclient.NewNodeBackend(btcCfg, btcParams, &btcclient.EmptyHintCache{}) // todo Lazar check if we should use concrete cache here? + btcNotifier, err := btcclient.NewNodeBackend(btcCfg, btcParams, &btcclient.EmptyHintCache{}) if err != nil { panic(fmt.Errorf("failed to initialize notifier: %w", err)) }