multi: add more trace logs regarding link activate flow

This commit is contained in:
yyforyongyu committed 2023-03-21 10:18:49 +07:00
1 parent ae39cd9e91
commit 2b8e9a0d36
4 files changed
+17 -3

No files matched your search

+3
View File
@@ -710,6 +710,9 @@ func (l *channelLink) syncChanStates() error {
// first message sent MUST be the ChanSync message.
select {
case msg := <-l.upstream:
l.log.Tracef("Received msg=%v from peer(%x)", msg.MsgType(),
l.cfg.Peer.PubKey())
remoteChanSyncMsg, ok := msg.(*lnwire.ChannelReestablish)
if !ok {
return fmt.Errorf("first message sent to sync "+