From 300fb1af4ac13b8f754bfce17745865e5ed16162 Mon Sep 17 00:00:00 2001 From: "Johan T. Halseth" Date: Sun, 11 Mar 2018 17:12:23 +0100 Subject: [PATCH] lnwire: define ConnectionWideID --- lnwire/channel_id.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lnwire/channel_id.go b/lnwire/channel_id.go index 827efbaa..3033f401 100644 --- a/lnwire/channel_id.go +++ b/lnwire/channel_id.go @@ -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 {