mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 14:40:51 +02:00
lncfg+lnd: add new dev config unsafeconnect
This flag is added so we can use it in the itest to mimic racing inbound and outbound connections.
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
7981b3b4de
commit
5dfc5f4b42
@@ -52,3 +52,9 @@ func (d *DevConfig) GetZombieSweeperInterval() time.Duration {
|
||||
func (d *DevConfig) GetMaxWaitNumBlocksFundingConf() uint32 {
|
||||
return DefaultMaxWaitNumBlocksFundingConf
|
||||
}
|
||||
|
||||
// GetUnsafeConnect returns the config value `UnsafeConnect`, which is always
|
||||
// false for production build.
|
||||
func (d *DevConfig) GetUnsafeConnect() bool {
|
||||
return false
|
||||
}
|
||||
|
Reference in New Issue
Block a user