htlcswitch: log regular channel ID when registering channels
This commit is contained in:
parent
10ca654054
commit
0fc62f123d
@ -7,6 +7,7 @@ import (
|
||||
|
||||
"crypto/sha256"
|
||||
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
"github.com/go-errors/errors"
|
||||
"github.com/lightningnetwork/lnd/lnrpc"
|
||||
"github.com/lightningnetwork/lnd/lnwallet"
|
||||
@ -732,8 +733,9 @@ func (s *Switch) addLink(link ChannelLink) error {
|
||||
return err
|
||||
}
|
||||
|
||||
log.Infof("Added channel link with short_chan_id=(%v), bandwidth=%v",
|
||||
link.ShortChanID(), link.Bandwidth())
|
||||
log.Infof("Added channel link with chan_id=%v, short_chan_id=(%v), "+
|
||||
"bandwidth=%v", link.ChanID(), spew.Sdump(link.ShortChanID()),
|
||||
link.Bandwidth())
|
||||
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user