watchtower: rename SessionPrivKey to SessionKeyECDH

This commit is contained in:
Oliver Gugger committed 2020-05-20 09:05:15 +02:00
1 parent 140731af00
commit b0cb110e86
4 files changed
+6 -6

No files matched your search

+3 -3
View File
@@ -60,12 +60,12 @@ type ClientSession struct {
// tower with TowerID.
Tower *Tower
// SessionPrivKey is the ephemeral secret key used to connect to the
// watchtower.
// SessionKeyECDH is the ECDH capable wrapper of the ephemeral secret
// key used to connect to the watchtower.
//
// NOTE: This value is not serialized. It is derived using the KeyIndex
// on startup to avoid storing private keys on disk.
SessionPrivKey *btcec.PrivateKey
SessionKeyECDH *btcec.PrivateKey
}
// ClientSessionBody represents the primary components of a ClientSession that