lnwire: define ConnectionWideID

This commit is contained in:
Johan T. Halseth 2018-03-11 17:12:23 +01:00
parent 80ef16e853
commit 300fb1af4a
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26
1 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,10 @@ const (
// ChannelID can be calculated by XOR'ing the big-endian serialization of the
type ChannelID [32]byte
// ConnectionWideID is an all-zero ChannelID, which is used to represent a
// message intended for all channels to to specific peer.
var ConnectionWideID = ChannelID{}
// String returns the string representation of the ChannelID. This is just the
// hex string encoding of the ChannelID itself.
func (c ChannelID) String() string {