From 552d1825945386265569bb73afa0a4518c919f43 Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Fri, 25 Oct 2024 20:28:17 -0300 Subject: [PATCH] lnwallet: fix closechannel for P2TR external addr If the delivery address is P2TR, function InternalKeyForAddr checks its existance in the wallet to return internal key for it in case it is a custom taproot channel. It used to return the error returned by wallet.AddressInfo. The error is now ignored if it is ErrAddressNotFound error. This fixes "lncli closechannel --delivery_addr