This commit is contained in:
Edwin 2023-11-10 17:19:48 +08:00
parent 3daa2f8453
commit 2c37db6f3f

View File

@ -49,6 +49,7 @@ func (p *feeRatePoller) startLoop(ctx context.Context) {
if err != nil { if err != nil {
log.WithError(err).Warn("failed to initialize the fee rate, the ticker is scheduled to update it subsequently") log.WithError(err).Warn("failed to initialize the fee rate, the ticker is scheduled to update it subsequently")
} }
log.Infof("[edwin] get fee from initializer: %v", p.symbolFeeDetail)
ticker := time.NewTicker(feeRatePollingPeriod) ticker := time.NewTicker(feeRatePollingPeriod)
defer ticker.Stop() defer ticker.Stop()
@ -64,6 +65,7 @@ func (p *feeRatePoller) startLoop(ctx context.Context) {
if err := p.poll(ctx); err != nil { if err := p.poll(ctx); err != nil {
log.WithError(err).Warn("failed to update fee rate") log.WithError(err).Warn("failed to update fee rate")
} }
log.Infof("[edwin] get fee from poller %v", p.symbolFeeDetail)
} }
} }
} }