lntest: add getters for TLSCertPath and TLSKeyPath fields

This commit is contained in:
Turtle 2019-05-25 00:54:55 -04:00
parent f0b2abaec8
commit f2ca4e1ea0

@ -305,6 +305,16 @@ func (hn *HarnessNode) Name() string {
return hn.cfg.Name
}
// TLSCertStr returns the path where the TLS certificate is stored.
func (hn *HarnessNode) TLSCertStr() string {
return hn.cfg.TLSCertPath
}
// TLSKeyStr returns the path where the TLS key is stored.
func (hn *HarnessNode) TLSKeyStr() string {
return hn.cfg.TLSKeyPath
}
// ChanBackupPath returns the fielpath to the on-disk channels.backup file for
// this node.
func (hn *HarnessNode) ChanBackupPath() string {