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:
ziggie
2024-01-21 16:30:32 +00:00
parent 3530254ff4
commit ccac5c349c
7 changed files with 122 additions and 4 deletions

View File

@@ -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
}