Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazar955 committed Aug 23, 2024
1 parent 998cee9 commit 376bc3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/vigilante/cmd/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/vigilante/cmd/reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit 376bc3a

Please sign in to comment.