mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 07:35:07 +02:00
multi: Add itest for a failed funding flow.
This adds an itest for a failed funding flow by our peer.
This commit is contained in:
14
lncfg/dev.go
14
lncfg/dev.go
@@ -2,7 +2,9 @@
|
||||
|
||||
package lncfg
|
||||
|
||||
import "time"
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// IsDevBuild returns a bool to indicate whether we are in a development
|
||||
// environment.
|
||||
@@ -21,3 +23,13 @@ type DevConfig struct{}
|
||||
func (d *DevConfig) ChannelReadyWait() time.Duration {
|
||||
return 0
|
||||
}
|
||||
|
||||
// GetReservationTimeout returns the config value for `ReservationTimeout`.
|
||||
func (d *DevConfig) GetReservationTimeout() time.Duration {
|
||||
return DefaultReservationTimeout
|
||||
}
|
||||
|
||||
// GetZombieSweeperInterval returns the config value for`ZombieSweeperInterval`.
|
||||
func (d *DevConfig) GetZombieSweeperInterval() time.Duration {
|
||||
return DefaultZombieSweeperInterval
|
||||
}
|
||||
|
Reference in New Issue
Block a user