lncfg: add new dev config option for scaling channel close confs
This'll be useful for the set up upcoming itests.
This commit is contained in:
1 parent
931b54e848
commit
622fa4476f
2 files changed
+19
No files matched your search
@@ -5,6 +5,7 @@ package lncfg
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/lightningnetwork/lnd/fn/v2"
|
||||
"github.com/lightningnetwork/lnd/lnwallet/chanfunding"
|
||||
)
|
||||
|
||||
@@ -58,3 +59,9 @@ func (d *DevConfig) GetMaxWaitNumBlocksFundingConf() uint32 {
|
||||
func (d *DevConfig) GetUnsafeConnect() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// ChannelCloseConfs returns the config value for channel close confirmations
|
||||
// override, which is always None for production build.
|
||||
func (d *DevConfig) ChannelCloseConfs() fn.Option[uint32] {
|
||||
return fn.None[uint32]()
|
||||
}
|
||||
Reference in new issue
Block a user