mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-07 11:22:37 +01:00
routing: Fix bugs with not sending routing messages
LIGHT-138, LIGHT-141. Due to some issues in sending/receiving parts of lnd, messages with zero length are not sent. So added some mock content to NeighborAck. Moved sender/receiver from routing message to wrap message which contains lnwire routing message.
This commit is contained in:
@@ -10,11 +10,10 @@ import (
|
||||
)
|
||||
|
||||
type RoutingTableRequestMessage struct {
|
||||
RoutingMessageBase
|
||||
}
|
||||
|
||||
func (msg *RoutingTableRequestMessage) String() string {
|
||||
return fmt.Sprintf("RoutingTableRequestMessage{%v %v}", msg.SenderID, msg.ReceiverID)
|
||||
return fmt.Sprintf("RoutingTableRequestMessage{}")
|
||||
}
|
||||
|
||||
func (msg *RoutingTableRequestMessage) Command() uint32 {
|
||||
|
||||
Reference in New Issue
Block a user