mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 15:11:09 +02:00
multi: add more trace logs regarding link activate flow
This commit is contained in:
@@ -111,7 +111,11 @@ func messageStoreKey(msg lnwire.Message, peerPubKey [33]byte) ([]byte, error) {
|
||||
|
||||
// AddMessage adds a message to the store for this peer.
|
||||
func (s *MessageStore) AddMessage(msg lnwire.Message, peerPubKey [33]byte) error {
|
||||
// Construct the key for which we'll find this message with in the store.
|
||||
log.Tracef("Adding message of type %v to store for peer %x",
|
||||
msg.MsgType(), peerPubKey)
|
||||
|
||||
// Construct the key for which we'll find this message with in the
|
||||
// store.
|
||||
msgKey, err := messageStoreKey(msg, peerPubKey)
|
||||
if err != nil {
|
||||
return err
|
||||
@@ -137,6 +141,9 @@ func (s *MessageStore) AddMessage(msg lnwire.Message, peerPubKey [33]byte) error
|
||||
func (s *MessageStore) DeleteMessage(msg lnwire.Message,
|
||||
peerPubKey [33]byte) error {
|
||||
|
||||
log.Tracef("Deleting message of type %v from store for peer %x",
|
||||
msg.MsgType(), peerPubKey)
|
||||
|
||||
// Construct the key for which we'll find this message with in the
|
||||
// store.
|
||||
msgKey, err := messageStoreKey(msg, peerPubKey)
|
||||
|
Reference in New Issue
Block a user