mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-02-20 05:54:34 +01:00
lntest: add getters for TLSCertPath and TLSKeyPath fields
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user