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:
BitfuryLightning
2016-08-23 15:41:41 -04:00
parent b5f07ede46
commit d8bceb16f9
12 changed files with 100 additions and 62 deletions

View File

@@ -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 {