i think there might be an error in the getOuts function of gossiper_test.go:
The line:
> chanOut := n.gossiper.Watch(ctx, true)
will return the channel for incoming packets and not outgoing packets.
If we compare with the getIns function, the exact same channel (n.gossiper.Watch(ctx, true)) is requested.
My test pass if the channel is set to
> chanOut := n.gossiper.Watch(ctx, false)
If we compare with the getIns function, the exact same channel (n.gossiper.Watch(ctx, true)) is requested.
My test pass if the channel is set to
> chanOut := n.gossiper.Watch(ctx, false)
- Morten