Skip to content

Commit c5cff40

Browse files
committed
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.
1 parent e403243 commit c5cff40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lnwire/lnwire_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,8 @@ func TestChanUpdateChanFlags(t *testing.T) {
356356
}
357357
}
358358

359-
// TestDecodeUnknownAddressType shows that an unknown address type is currently
360-
// incorrectly dealt with.
359+
// TestDecodeUnknownAddressType shows that an unknown address type is correctly
360+
// decoded and encoded.
361361
func TestDecodeUnknownAddressType(t *testing.T) {
362362
// Add a normal, clearnet address.
363363
tcpAddr := &net.TCPAddr{

0 commit comments

Comments
 (0)