diff --git a/cmd/neofs-node/timers.go b/cmd/neofs-node/timers.go index fd690bf0af..692337aa64 100644 --- a/cmd/neofs-node/timers.go +++ b/cmd/neofs-node/timers.go @@ -5,7 +5,6 @@ import ( wrapNetmap "github.com/nspcc-dev/neofs-node/pkg/morph/client/netmap/wrapper" "github.com/nspcc-dev/neofs-node/pkg/morph/timer" - "go.uber.org/zap" ) type ( @@ -84,18 +83,3 @@ func newEigenTrustIterTimer(c *cfg, it *EigenTrustDuration, handler timer.BlockT c.cfgMorph.blockTimers = append(c.cfgMorph.blockTimers, c.cfgMorph.eigenTrustTimer) } - -func newDepositTimer(c *cfg) { - c.cfgMorph.blockTimers = append(c.cfgMorph.blockTimers, - timer.NewBlockTimer( - timer.StaticBlockMeter(c.cfgMorph.notaryDepositDuration), - func() { - _, err := makeNotaryDeposit(c) - if err != nil { - c.log.Warn("can't deposit notary contract", - zap.String("error", err.Error())) - } - }, - ), - ) -}