Open
Description
From: #8963 (comment)
This has caused lots of confusion about when to use OpenChannel.ShortChannelID()
vs OpenChannel.ZeroConfRealScid
. The ShortChannelID
is the first alias that we send to the peer and the graph stores info under this scid. When the channel reaches six confirmations, the ZeroConfRealScid()
function returns the on-chain scid and the graph info is then moved to be stored under this scid. We should have some function to determine which SCID to use or perhaps replace the OpenChannel.ShortChannelID
member when the channel confirms.