satellite/payments: remove unused code
Change-Id: I2daaf5089bec000a6e995b8396d55528256aca6c
This commit is contained in:
parent
77f67a8086
commit
ea970e45ce
@ -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),
|
||||
)
|
||||
}
|
||||
|
@ -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),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user