mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue