MailboxDeliveryTimeouttime.Duration`long:"mailboxdeliverytimeout" description:"The timeout value when delivering HTLCs to a channel link. Setting this value too small will result in local payment failures if large number of payments are sent over a short period."`
}
// Validate checks the values configured for htlcswitch.
func(h*Htlcswitch)Validate()error{
ifh.MailboxDeliveryTimeout<=0{
returnfmt.Errorf("mailboxdeliverytimeout must be positive")