diff --git a/revocation/shachain.go b/revocation/shachain.go index ba6ee6a7..39551128 100644 --- a/revocation/shachain.go +++ b/revocation/shachain.go @@ -8,23 +8,23 @@ type chainFragment struct { hash wire.ShaHash } -// ShaChain... -type ShaChain struct { +// HyperShaChain... +type HyperShaChain struct { lastChainIndex uint64 chainFragments []chainFragment } -// NewShaChain... -func NewShaChain(seed wire.ShaHash) *ShaChain { +// NewHyperShaChain... +func NewHyperShaChain(seed wire.ShaHash) *HyperShaChain { // TODO(roasbeef): from/to or static size? return nil } // NextHash... -func (s *ShaChain) NextHash() { +func (s *HyperShaChain) NextHash() { } // GetHash... -func (s *ShaChain) GetHash(index uint64) { +func (s *HyperShaChain) GetHash(index uint64) { } diff --git a/wallet/channel.go b/wallet/channel.go index 68d8d24c..304dd1e4 100644 --- a/wallet/channel.go +++ b/wallet/channel.go @@ -10,7 +10,7 @@ import ( ) type LightningChannel struct { - shachan *revocation.ShaChain + shachan *revocation.HyperShaChain wallet *LightningWallet channelEvents *chainntnfs.ChainNotifier