server: default sweep addrs to P2TR

This change covers sweep addresses for: the breach arbitrator, and watch
tower clients.
This commit is contained in:
Olaoluwa Osuntokun committed 2022-08-11 17:26:07 -07:00
1 parent a1cd7734d8
commit 2cc75db6f8
1 file changed
+2 -1
+2 -1
View File
@@ -4534,7 +4534,8 @@ func newSweepPkScriptGen(
return func() ([]byte, error) {
sweepAddr, err := wallet.NewAddress(
lnwallet.WitnessPubKey, false, lnwallet.DefaultAccountName,
lnwallet.TaprootPubkey, false,
lnwallet.DefaultAccountName,
)
if err != nil {
return nil, err