@@ -13,6 +13,7 @@ import (
1313	"github.com/btcsuite/btcd/txscript" 
1414	"github.com/lightningnetwork/lnd/chanbackup" 
1515	"github.com/lightningnetwork/lnd/channeldb" 
16+ 	"github.com/lightningnetwork/lnd/fn" 
1617	"github.com/lightningnetwork/lnd/input" 
1718	"github.com/lightningnetwork/lnd/keychain" 
1819	"github.com/lightningnetwork/lnd/lntypes" 
@@ -261,6 +262,7 @@ func CollectDebugInfo(channel *channeldb.OpenChannel,
261262	toLocalScript , err  :=  lnwallet .CommitScriptToSelf (
262263		chanType , initiator , keyRing .ToLocalKey , keyRing .RevocationKey ,
263264		uint32 (ourChanCfg .CsvDelay ), leaseExpiry ,
265+ 		fn .None [txscript.TapLeaf ](),
264266	)
265267	if  err  !=  nil  {
266268		return  nil , err 
@@ -269,6 +271,7 @@ func CollectDebugInfo(channel *channeldb.OpenChannel,
269271	// Next, we create the script paying to the remote. 
270272	toRemoteScript , _ , err  :=  lnwallet .CommitScriptToRemote (
271273		chanType , initiator , keyRing .ToRemoteKey , leaseExpiry ,
274+ 		fn .None [txscript.TapLeaf ](),
272275	)
273276	if  err  !=  nil  {
274277		return  nil , err 
0 commit comments