satellite/payments: remove unused code

Change-Id: I2daaf5089bec000a6e995b8396d55528256aca6c
This commit is contained in:
Yaroslav Vorobiov 2020-02-20 15:31:33 +02:00
parent 77f67a8086
commit ea970e45ce
2 changed files with 0 additions and 3 deletions

View File

@ -448,7 +448,6 @@ func New(log *zap.Logger, full *identity.FullIdentity, db DB,
})
peer.Debug.Server.Panel.Add(
debug.Cycle("Payments Stripe Transactions", peer.Payments.Chore.TransactionCycle),
debug.Cycle("Payments Stripe Coupons", peer.Payments.Chore.CouponUsageCycle),
debug.Cycle("Payments Stripe Account Balance", peer.Payments.Chore.AccountBalanceCycle),
)
}

View File

@ -25,7 +25,6 @@ type Chore struct {
log *zap.Logger
service *Service
TransactionCycle *sync2.Cycle
CouponUsageCycle *sync2.Cycle
AccountBalanceCycle *sync2.Cycle
}
@ -37,7 +36,6 @@ func NewChore(log *zap.Logger, service *Service, txInterval, accBalanceInterval
service: service,
TransactionCycle: sync2.NewCycle(txInterval),
AccountBalanceCycle: sync2.NewCycle(accBalanceInterval),
CouponUsageCycle: sync2.NewCycle(0),
}
}