mirror of
https://github.com/lightninglabs/loop
synced 2024-11-09 19:10:47 +00:00
sweepbatcher: rename a private const
Renamed defaultPublishDelay to defaultTestnetPublishDelay. Its godoc was already for defaultTestnetPublishDelay, but the const was named defaultPublishDelay.
This commit is contained in:
parent
6d3a488f2f
commit
ce4a4d97a5
@ -44,7 +44,7 @@ const (
|
||||
|
||||
// defaultTestnetPublishDelay is the default publish delay that is used
|
||||
// for testnet.
|
||||
defaultPublishDelay = 500 * time.Millisecond
|
||||
defaultTestnetPublishDelay = 500 * time.Millisecond
|
||||
)
|
||||
|
||||
type BatcherStore interface {
|
||||
@ -536,7 +536,7 @@ func (b *Batcher) spinUpBatch(ctx context.Context) (*batch, error) {
|
||||
cfg.batchPublishDelay = defaultMainnetPublishDelay
|
||||
|
||||
default:
|
||||
cfg.batchPublishDelay = defaultPublishDelay
|
||||
cfg.batchPublishDelay = defaultTestnetPublishDelay
|
||||
}
|
||||
|
||||
batchKit := b.newBatchKit()
|
||||
|
Loading…
Reference in New Issue
Block a user