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 2022-08-10 18:25:22 -07:00
parent a1cd7734d8
commit 2cc75db6f8
No known key found for this signature in database
GPG Key ID: 3BBD59E99B280306

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