From c5cff4052b8340f2cff89ce1f19577b8838f2624 Mon Sep 17 00:00:00 2001 From: Elle Mouton Date: Wed, 5 Feb 2025 08:17:42 +0200 Subject: [PATCH] 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. --- lnwire/lnwire_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnwire/lnwire_test.go b/lnwire/lnwire_test.go index f42426ac5..db3ffd39d 100644 --- a/lnwire/lnwire_test.go +++ b/lnwire/lnwire_test.go @@ -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{