lnwire_test: fix test doc string

This test started out demonstrating a bug. But that bug has since been
fixed. Fix the comment to reflect.
This commit is contained in:
Elle Mouton 2025-02-05 08:17:42 +02:00
parent e40324358a
commit c5cff4052b
No known key found for this signature in database
GPG key ID: D7D916376026F177

View file

@ -356,8 +356,8 @@ func TestChanUpdateChanFlags(t *testing.T) {
}
}
// TestDecodeUnknownAddressType shows that an unknown address type is currently
// incorrectly dealt with.
// TestDecodeUnknownAddressType shows that an unknown address type is correctly
// decoded and encoded.
func TestDecodeUnknownAddressType(t *testing.T) {
// Add a normal, clearnet address.
tcpAddr := &net.TCPAddr{